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