diff options
Diffstat (limited to 'java/org/brotli/wrapper/enc/BrotliOutputStreamTest.java')
-rwxr-xr-x | java/org/brotli/wrapper/enc/BrotliOutputStreamTest.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/java/org/brotli/wrapper/enc/BrotliOutputStreamTest.java b/java/org/brotli/wrapper/enc/BrotliOutputStreamTest.java index a436e81..699b4b2 100755 --- a/java/org/brotli/wrapper/enc/BrotliOutputStreamTest.java +++ b/java/org/brotli/wrapper/enc/BrotliOutputStreamTest.java @@ -2,6 +2,7 @@ package org.brotli.wrapper.enc; import static org.junit.Assert.assertEquals; +import org.brotli.integration.BrotliJniTestBase; import org.brotli.integration.BundleHelper; import org.brotli.wrapper.dec.BrotliInputStream; import java.io.ByteArrayInputStream; @@ -18,7 +19,7 @@ import org.junit.runners.AllTests; /** Tests for {@link org.brotli.wrapper.enc.BrotliOutputStream}. */ @RunWith(AllTests.class) -public class BrotliOutputStreamTest { +public class BrotliOutputStreamTest extends BrotliJniTestBase { private enum TestMode { WRITE_ALL, @@ -26,12 +27,6 @@ public class BrotliOutputStreamTest { WRITE_BYTE } - // TODO: remove when Bazel get JNI support. - static { - System.load(new java.io.File(new java.io.File(System.getProperty("java.library.path")), - "liblibjni.so").getAbsolutePath()); - } - private static final int CHUNK_SIZE = 256; static InputStream getBundle() throws IOException { |