public class ReadAheadFileOperationsUnevenTest extends ReadAheadFileOperationsTest
ReadAheadFileOperations
implementations.Constructor and Description |
---|
ReadAheadFileOperationsUnevenTest() |
Modifier and Type | Method and Description |
---|---|
org.jdtaus.core.io.FileOperations |
getFileOperations() |
protected void |
runTest() |
void |
testReadBeyondCacheEof()
Tests the
ReadAheadFileOperations.read(byte[],int,int) method
to correctly read beyond the cache limit when more data to read is
requested than available for the file. |
void |
testReadBeyondCacheNoEof()
Tests the
ReadAheadFileOperations.read(byte[],int,int) method
to correctly read beyond the cache limit when less data to read is
requested than available for the file. |
testWriteUpdatesCache
getFlushableFileOperations, getMemoryFileOperations, testFlush
assertValidTestFile, getTestFile, setFileOperations, testEndOfFile, testGetLength, testRead, testSetLength, testSetLengthUpdatesFilePointer, testWrite, testWriteBeyondIncreasesLength
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
public ReadAheadFileOperationsUnevenTest()
public org.jdtaus.core.io.FileOperations getFileOperations()
getFileOperations
in class ReadAheadFileOperationsTest
protected void runTest() throws Throwable
runTest
in class ReadAheadFileOperationsTest
Throwable
public void testReadBeyondCacheEof() throws Exception
ReadAheadFileOperations.read(byte[],int,int)
method
to correctly read beyond the cache limit when more data to read is
requested than available for the file.Exception
public void testReadBeyondCacheNoEof() throws Exception
ReadAheadFileOperations.read(byte[],int,int)
method
to correctly read beyond the cache limit when less data to read is
requested than available for the file.Exception
Copyright © 2005-2012 jDTAUS. All Rights Reserved.