public class TestChecksum
extends java.lang.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 setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testChecksumCorruption()
throws java.io.IOException
java.io.IOExceptionprotected void testChecksumCorruptionInternals(boolean useTags)
throws java.io.IOException
java.io.IOExceptionpublic void testChecksumChunks()
throws java.io.IOException
java.io.IOExceptionprotected void testChecksumInternals(boolean useTags)
throws java.io.IOException
java.io.IOExceptionpublic void testChecksumAlgorithm()
throws java.io.IOException
java.io.IOException