Package org.brotli.wrapper.enc
Class UseCompoundDictionaryTest
- java.lang.Object
-
- org.brotli.integration.BrotliJniTestBase
-
- org.brotli.wrapper.enc.UseCompoundDictionaryTest
-
public class UseCompoundDictionaryTest extends BrotliJniTestBase
Tests for compression / decompression aided with LZ77 dictionary.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classUseCompoundDictionaryTest.UseCompoundDictionaryTestCaseTest case with a unique name.
-
Constructor Summary
Constructors Constructor Description UseCompoundDictionaryTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.io.InputStreamgetBundle()private static PreparedDictionaryprepareRawDictionary(java.lang.String entryName, java.nio.ByteBuffer data)private static voidrun(java.lang.String entryName)static junit.framework.TestSuitesuite()Creates a test suite.
-
-
-
Method Detail
-
getBundle
static java.io.InputStream getBundle() throws java.io.IOException- Throws:
java.io.IOException
-
suite
public static junit.framework.TestSuite suite() throws java.io.IOExceptionCreates a test suite.- Throws:
java.io.IOException
-
prepareRawDictionary
private static PreparedDictionary prepareRawDictionary(java.lang.String entryName, java.nio.ByteBuffer data)
-
run
private static void run(java.lang.String entryName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-