public class FileSnapshotTest extends Object
Constructor and Description |
---|
FileSnapshotTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testActuallyIsModifiedTrivial()
Change data and time stamp.
|
void |
testNewFileNoWait()
Same as
testNewFileWithWait() but do not wait at all |
void |
testNewFileWithWait()
Create a file, but don't wait long enough for the difference between file
system clock and system clock to be significant.
|
void |
testOldFile()
Create a file, wait long enough and verify that it has not been modified.
|
public void testActuallyIsModifiedTrivial() throws Exception
Exception
public void testOldFile() throws Exception
Exception
public void testNewFileWithWait() throws Exception
Exception
public void testNewFileNoWait() throws Exception
testNewFileWithWait()
but do not wait at allException
Copyright © 2015. All rights reserved.