Package gov.nasa.pds.objectAccess
Class ByteWiseFileAccessorTest
java.lang.Object
gov.nasa.pds.objectAccess.ByteWiseFileAccessorTest
public class ByteWiseFileAccessorTest extends Object
-
Constructor Summary
Constructors Constructor Description ByteWiseFileAccessorTest() -
Method Summary
Modifier and Type Method Description voidtestFileNotFoundException()voidtestFileOffset()voidtestFileTooShort()voidtestReadRecordBytes(int recordNum, int offset, int length, byte[] expected)
-
Constructor Details
-
ByteWiseFileAccessorTest
public ByteWiseFileAccessorTest()
-
-
Method Details
-
testReadRecordBytes
public void testReadRecordBytes(int recordNum, int offset, int length, byte[] expected) -
testFileTooShort
- Throws:
IOException
-
testFileNotFoundException
- Throws:
Exception
-
testFileOffset
- Throws:
Exception
-