Ensure native zlib actually loads.

This commit is contained in:
md_5 2016-01-16 13:33:09 +11:00
parent 7907610eeb
commit 255d7fde9a

View File

@ -20,7 +20,11 @@ public class NativeZlibTest
@Test
public void doTest() throws DataFormatException
{
test( factory.newInstance() );
if ( NativeCode.isSupported() )
{
Assert.assertTrue( "Native code failed to load!", factory.load() );
test( factory.newInstance() );
}
test( new JavaZlib() );
}