Package gov.nih.mipav.model.file
Class MetadataExtractorTest.RandomAccessFileReaderTest
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractorTest.RandomAccessTestBase
-
- gov.nih.mipav.model.file.MetadataExtractorTest.RandomAccessFileReaderTest
-
- Enclosing class:
- MetadataExtractorTest
public class MetadataExtractorTest.RandomAccessFileReaderTest extends MetadataExtractorTest.RandomAccessTestBase
- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.RandomAccessFile
_randomAccessFile
private java.io.File
_tempFile
-
Constructor Summary
Constructors Constructor Description RandomAccessFileReaderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetadataExtractor.RandomAccessReader
createReader(byte[] bytes)
void
deleteTempFile()
void
testConstructWithNullBufferThrows()
-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractorTest.RandomAccessTestBase
testDefaultEndianness, testGetBytesEOF, testGetFloat32, testGetFloat64, testGetInt16, testGetInt32, testGetInt32_OutOfBounds, testGetInt64, testGetInt64_OutOfBounds, testGetInt8, testGetInt8EOF, testGetNullTerminatedString, testGetString, testGetUInt16, testGetUInt16_OutOfBounds, testGetUInt32, testGetUInt8, testGetUInt8_OutOfBounds, testIndexPlusCountExceedsIntMaxValue, testOverflowBoundsCalculation
-
-
-
-
Method Detail
-
createReader
protected MetadataExtractor.RandomAccessReader createReader(byte[] bytes)
- Specified by:
createReader
in classMetadataExtractorTest.RandomAccessTestBase
-
deleteTempFile
public void deleteTempFile() throws java.io.IOException
- Throws:
java.io.IOException
-
testConstructWithNullBufferThrows
public void testConstructWithNullBufferThrows() throws java.io.IOException
- Throws:
java.io.IOException
-
-