]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/java/src/test/java/org/rocksdb/CompressionTypesTest.java
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rocksdb / java / src / test / java / org / rocksdb / CompressionTypesTest.java
1 // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
2 // This source code is licensed under both the GPLv2 (found in the
3 // COPYING file in the root directory) and Apache 2.0 License
4 // (found in the LICENSE.Apache file in the root directory).
5
6 package org.rocksdb;
7
8 import org.junit.Test;
9
10
11 public class CompressionTypesTest {
12 @Test
13 public void getCompressionType() {
14 for (final CompressionType compressionType : CompressionType.values()) {
15 String libraryName = compressionType.getLibraryName();
16 compressionType.equals(CompressionType.getCompressionType(
17 libraryName));
18 }
19 }
20 }