public class LineReaderTest extends AbstractIsisFishTest
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
protected File |
testDir |
dirIsisBase| Constructor and Description |
|---|
LineReaderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
createMock(File testDir,
int i) |
protected void |
createOffset(int size) |
protected fr.ifremer.isisfish.logging.io.LineReader |
createReader(File f,
String ext) |
protected void |
getNbLines(int size) |
protected void |
scanAllLines(int size) |
protected void |
scanAllLines(int size,
int length) |
protected void |
scanReverseAllLines(int size) |
protected void |
scanReverseAllLines(int size,
int length) |
protected void |
scanThenReverseAllLines(int size) |
protected void |
scanThenReverseAllLines(int size,
int length) |
void |
setUp() |
void |
testCreateOffsets() |
void |
testGetNbLines() |
void |
testMakeMock() |
void |
testScanAllLines() |
void |
testScanReverseAllLines() |
void |
testScanThenReverseAllLines() |
void |
testSimple() |
static String |
time(long t0,
long t1) |
clean, getCurrentDatabaseDirectory, getFreemarkerConfiguration, getTestDirectory, init, resetConfigprotected static final org.apache.commons.logging.Log log
protected File testDir
protected static void createMock(File testDir, int i) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testScanThenReverseAllLines()
throws Exception
Exceptionprotected fr.ifremer.isisfish.logging.io.LineReader createReader(File f, String ext) throws IOException
IOExceptionprotected void scanAllLines(int size)
throws IOException
IOExceptionprotected void scanAllLines(int size,
int length)
throws IOException
IOExceptionprotected void scanReverseAllLines(int size)
throws IOException
IOExceptionprotected void scanReverseAllLines(int size,
int length)
throws IOException
IOExceptionprotected void scanThenReverseAllLines(int size)
throws IOException
IOExceptionprotected void scanThenReverseAllLines(int size,
int length)
throws IOException
IOExceptionprotected void getNbLines(int size)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionprotected void createOffset(int size)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static String time(long t0, long t1)
Copyright © 1999–2019 CodeLutin. All rights reserved.