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 getCompressionType()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 } 21