Methods Summary |
---|
public void | setUp()
configureProject("src/etc/testcases/taskdefs/move.xml");
|
public void | tearDown()
executeTarget("cleanup");
|
private void | testCompleteDirectoryMove(java.lang.String target)
executeTarget(target);
assertTrue(getProject().resolveFile("E").exists());
assertTrue(getProject().resolveFile("E/1").exists());
assertTrue(!getProject().resolveFile("A/1").exists());
// <path> swallows the basedir, it seems
//assertTrue(!getProject().resolveFile("A").exists());
|
public void | testCompleteDirectoryMove()
testCompleteDirectoryMove("testCompleteDirectoryMove");
|
public void | testCompleteDirectoryMove2()
testCompleteDirectoryMove("testCompleteDirectoryMove2");
|
public void | testCompleteDirectoryMoveFileAndFileset()
executeTarget("testCompleteDirectoryMoveFileAndFileset");
|
public void | testCompleteDirectoryMoveFileToDir()
executeTarget("testCompleteDirectoryMoveFileToDir");
|
public void | testCompleteDirectoryMoveFileToDirWithExistingDir()
executeTarget("testCompleteDirectoryMoveFileToDirWithExistingDir");
|
public void | testCompleteDirectoryMoveFileToDirWithExistingFile()
executeTarget("testCompleteDirectoryMoveFileToDirWithExistingFile");
|
public void | testCompleteDirectoryMoveFileToExistingDir()
executeTarget("testCompleteDirectoryMoveFileToExistingDir");
|
public void | testCompleteDirectoryMoveFileToExistingFile()
executeTarget("testCompleteDirectoryMoveFileToExistingFile");
|
public void | testCompleteDirectoryMoveFileToFile()
executeTarget("testCompleteDirectoryMoveFileToFile");
|
public void | testCompleteDirectoryMoveToExistingDir()
executeTarget("testCompleteDirectoryMoveToExistingDir");
|
public void | testDirectoryRemoval()Bugzilla Report 11732
executeTarget("testDirectoryRemoval");
assertTrue(!getProject().resolveFile("E/B/1").exists());
assertTrue(getProject().resolveFile("E/C/2").exists());
assertTrue(getProject().resolveFile("E/D/3").exists());
assertTrue(getProject().resolveFile("A/B/1").exists());
assertTrue(!getProject().resolveFile("A/C/2").exists());
assertTrue(!getProject().resolveFile("A/D/3").exists());
assertTrue(!getProject().resolveFile("A/C").exists());
assertTrue(!getProject().resolveFile("A/D").exists());
|
public void | testDirectoryRetaining()Bugzilla Report 18886
executeTarget("testDirectoryRetaining");
assertTrue(getProject().resolveFile("E").exists());
assertTrue(getProject().resolveFile("E/1").exists());
assertTrue(!getProject().resolveFile("A/1").exists());
assertTrue(getProject().resolveFile("A").exists());
|
public void | testFilterChain()
executeTarget("testFilterChain");
File tmp = new File(getProjectDir(), "move.filterchain.tmp");
File check = new File(getProjectDir(), "expected/copy.filterset.filtered");
assertTrue(tmp.exists());
assertTrue(FILE_UTILS.contentEquals(tmp, check));
|
public void | testFilterSet()
executeTarget("testFilterSet");
File tmp = new File(getProjectDir(), "move.filterset.tmp");
File check = new File(getProjectDir(), "expected/copy.filterset.filtered");
assertTrue(tmp.exists());
assertTrue(FILE_UTILS.contentEquals(tmp, check));
|
public void | testMoveFileAndFileset()
executeTarget("testMoveFileAndFileset");
|
public void | testPathElementMove()
executeTarget("testPathElementMove");
assertTrue(getProject().resolveFile("E").exists());
assertTrue(getProject().resolveFile("E/1").exists());
assertTrue(!getProject().resolveFile("A/1").exists());
assertTrue(getProject().resolveFile("A").exists());
|