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
IOExceptionprotected void testChecksumCorruptionInternals(boolean useTags)
                                        throws IOException
IOExceptionpublic void testChecksumChunks()
                        throws IOException
IOExceptionprotected void testChecksumInternals(boolean useTags)
                              throws IOException
IOExceptionpublic void testChecksumAlgorithm()
                           throws IOException
IOException