parent
a15169f2e9
commit
3e684aa685
@ -0,0 +1,22 @@ |
|||||||
|
// Copyright (c) 2014, Facebook, Inc. All rights reserved.
|
||||||
|
// This source code is licensed under the BSD-style license found in the
|
||||||
|
// LICENSE file in the root directory of this source tree. An additional grant
|
||||||
|
// of patent rights can be found in the PATENTS file in the same directory.
|
||||||
|
|
||||||
|
package org.rocksdb.test; |
||||||
|
|
||||||
|
import org.junit.Test; |
||||||
|
import org.rocksdb.CompressionType; |
||||||
|
|
||||||
|
|
||||||
|
public class CompressionOptionsTest |
||||||
|
{ |
||||||
|
@Test |
||||||
|
public void getCompressionType() { |
||||||
|
for (CompressionType compressionType : CompressionType.values()) { |
||||||
|
String libraryName = compressionType.getLibraryName(); |
||||||
|
compressionType.equals(CompressionType.getCompressionType( |
||||||
|
libraryName)); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue