public class TestChecksum extends Object
Constructor and Description |
---|
TestChecksum() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testChecksumAlgorithm()
Test to ensure that these is at least one valid checksum implementation
|
void |
testChecksumChunks()
Test different values of bytesPerChecksum
|
void |
testChecksumCorruption()
Introduce checksum failures and check that we can still read
the data
|
protected void |
testChecksumCorruptionInternals(boolean useTags) |
protected void |
testChecksumInternals(boolean useTags) |
public void testChecksumCorruption() throws IOException
IOException
protected void testChecksumCorruptionInternals(boolean useTags) throws IOException
IOException
public void testChecksumChunks() throws IOException
IOException
protected void testChecksumInternals(boolean useTags) throws IOException
IOException
public void testChecksumAlgorithm() throws IOException
IOException