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, resetConfig
protected static final org.apache.commons.logging.Log log
protected File testDir
protected static void createMock(File testDir, int i) throws IOException, InterruptedException
IOException
InterruptedException
public void testScanThenReverseAllLines() throws Exception
Exception
protected fr.ifremer.isisfish.logging.io.LineReader createReader(File f, String ext) throws IOException
IOException
protected void scanAllLines(int size) throws IOException
IOException
protected void scanAllLines(int size, int length) throws IOException
IOException
protected void scanReverseAllLines(int size) throws IOException
IOException
protected void scanReverseAllLines(int size, int length) throws IOException
IOException
protected void scanThenReverseAllLines(int size) throws IOException
IOException
protected void scanThenReverseAllLines(int size, int length) throws IOException
IOException
protected void getNbLines(int size) throws IOException, InterruptedException
IOException
InterruptedException
protected void createOffset(int size) throws IOException, InterruptedException
IOException
InterruptedException
public static String time(long t0, long t1)
Copyright © 1999–2019 CodeLutin. All rights reserved.