Package gov.nih.mipav.model.file
Class MetadataExtractorTest.SequentialAccessTestBase
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractorTest.SequentialAccessTestBase
- Direct Known Subclasses:
MetadataExtractorTest.SequentialByteArrayReaderTest,MetadataExtractorTest.StreamReaderTest
- Enclosing class:
MetadataExtractorTest
Base class for testing implementations of
.
invalid reference
com.drew.lang.SequentialReader
- Author:
- Drew Noakes https://drewnoakes.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MetadataExtractor.SequentialReadercreateReader(byte[] bytes) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
SequentialAccessTestBase
public SequentialAccessTestBase()
-
-
Method Details
-
createReader
-
testDefaultEndianness
public void testDefaultEndianness() -
testGetInt8
- Throws:
IOException
-
testGetUInt8
- Throws:
IOException
-
testGetUInt8_OutOfBounds
public void testGetUInt8_OutOfBounds() -
testGetInt16
- Throws:
IOException
-
testGetUInt16
- Throws:
IOException
-
testGetUInt16_OutOfBounds
public void testGetUInt16_OutOfBounds() -
testGetInt32
- Throws:
IOException
-
testGetUInt32
- Throws:
IOException
-
testGetInt32_OutOfBounds
public void testGetInt32_OutOfBounds() -
testGetInt64
- Throws:
IOException
-
testGetInt64_OutOfBounds
public void testGetInt64_OutOfBounds() -
testGetFloat32
- Throws:
IOException
-
testGetFloat64
- Throws:
IOException
-
testGetNullTerminatedString
- Throws:
IOException
-
testGetString
- Throws:
IOException
-
testGetBytes
- Throws:
IOException
-
testOverflowBoundsCalculation
public void testOverflowBoundsCalculation() -
testGetBytesEOF
- Throws:
Exception
-
testGetInt8EOF
- Throws:
Exception
-
testSkipEOF
- Throws:
Exception
-
testTrySkipEOF
- Throws:
Exception
-