Method Summary |
|
public void | setUp() Setup method for each JUnit test case. |
public static Test | suite() Creates a test suite for JUnit to run. |
public void | tearDown() |
protected File | tempFile() Create a new temporary file in _tempDir. |
public void | testAddMoreThanMaxSize() Tests that the size of the recent files list doesn't get bigger than the maximum size. |
public void | testDirectoryFilterDescription() Verifies that the presentation names for the directory filter are correct. |
public void | testRemoveFile() Tests that files are removed correctly from the list. |
public void | testReopenFiles() Tests that the list is re-ordered correctly after a file is re-opened, even if it has a different path. |
public void | testShrinksToMaxSize() Tests that the size of the recent files list is reduced in response to a decrease in max size. |
protected File | writeToNewTempFile(String text) Creates a new temporary file and writes the given text to it. |