H A D | ChecksumBase.java | 28 * Base class for Checksum tests 33 import java.util.zip.Checksum; 39 public static void testAll(Checksum checksum, long expected) { in testAll() argument 40 testBytes(checksum, expected); in testAll() 41 testByteArray(checksum, expected); in testAll() 42 testWrappedByteBuffer(checksum, expected); in testAll() 43 testReadonlyByteBuffer(checksum, expected); in testAll() 44 testDirectByteBuffer(checksum, expected); in testAll() 45 testByteArrayOffset(checksum, expected); in testAll() 46 testDirectByteBufferOffset(checksum, expected); in testAll() [all …]
|