public class TailerTest extends FileBasedTestCase
Tailer.| Constructor and Description |
|---|
TailerTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createFile(File file,
long size) |
protected void |
tearDown() |
void |
testBufferBreak() |
void |
testInterrupt()
Tests [IO-357][Tailer] InterruptedException while the thead is sleeping is silently ignored.
|
void |
testIO335() |
void |
testLongFile() |
void |
testMultiByteBreak() |
void |
testStopWithNoFile() |
void |
testStopWithNoFileUsingExecutor() |
void |
testTailer() |
void |
testTailerEof() |
assertEqualContent, assertEqualContent, checkFile, checkWrite, checkWrite, createLineBasedFile, deleteFile, generateTestData, generateTestData, getTestDirectory, newFileassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, toStringpublic TailerTest(String name)
protected void tearDown() throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testLongFile() throws Exception
Exceptionpublic void testBufferBreak() throws Exception
Exceptionpublic void testMultiByteBreak() throws Exception
Exceptionpublic void testTailerEof() throws Exception
Exceptionpublic void testTailer() throws Exception
Exceptionprotected void createFile(File file, long size) throws IOException
createFile in class FileBasedTestCaseIOExceptionpublic void testStopWithNoFile() throws Exception
Exceptionpublic void testInterrupt() throws Exception
Exceptionpublic void testStopWithNoFileUsingExecutor() throws Exception
ExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.