Ensure native zlib actually loads.
This commit is contained in:
parent
7907610eeb
commit
255d7fde9a
@ -20,7 +20,11 @@ public class NativeZlibTest
|
|||||||
@Test
|
@Test
|
||||||
public void doTest() throws DataFormatException
|
public void doTest() throws DataFormatException
|
||||||
{
|
{
|
||||||
|
if ( NativeCode.isSupported() )
|
||||||
|
{
|
||||||
|
Assert.assertTrue( "Native code failed to load!", factory.load() );
|
||||||
test( factory.newInstance() );
|
test( factory.newInstance() );
|
||||||
|
}
|
||||||
test( new JavaZlib() );
|
test( new JavaZlib() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user