public class FileObservableTest extends Object
| Constructor and Description |
|---|
FileObservableTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCreateAndModifyEventsForANonDirectoryFile() |
void |
testFileTailingFromStartOfFile() |
void |
testFileTailingWhenFileIsCreatedAfterSubscription() |
void |
testNoEventsThrownIfFileDoesNotExist() |
void |
testTailTextFileStreamsFromEndOfFileIfDeleteOccurs() |
void |
testTailTextFileStreamsFromEndOfFileIfSpecified() |
public void testNoEventsThrownIfFileDoesNotExist()
throws InterruptedException
InterruptedExceptionpublic void testCreateAndModifyEventsForANonDirectoryFile()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testFileTailingFromStartOfFile()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testFileTailingWhenFileIsCreatedAfterSubscription()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void testTailTextFileStreamsFromEndOfFileIfSpecified()
throws FileNotFoundException,
InterruptedException
public void testTailTextFileStreamsFromEndOfFileIfDeleteOccurs()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionCopyright © 2013–2015. All rights reserved.