1 | void testFileResourcePlain() {↵ | | 1 | void testPathAsResource() {↵
|
2 | executeTarget("testFileResourcePlain");↵ | | 2 | executeTarget("testPathAsResource");↵
|
3 | File file1 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file1.txt");↵ | | 3 | File file1 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file1.txt");↵
|
4 | File file2 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file2.txt");↵ | | 4 | File file2 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file2.txt");↵
|
5 | File file3 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file3.txt");↵ | | 5 | File file3 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file3.txt");↵
|
6 | assertTrue(file1.exists());↵ | | 6 | assertTrue(file1.exists());↵
|
7 | assertTrue(file2.exists());↵ | | 7 | assertTrue(file2.exists());↵
|
8 | assertTrue(file3.exists());↵ | | 8 | assertTrue(file3.exists());↵
|
9 | }↵ | | 9 | }↵
|
10 | ↵ | | 10 | ↵
|
11 | public void _testFileResourceWithMapper() {↵ | | 11 | public void testZipfileset() {↵
|
12 | executeTarget("testFileResourceWithMapper");↵ | | 12 | executeTarget("testZipfileset");↵
|
13 | File file1 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file1.txt.bak");↵ | | 13 | File file1 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file1.txt");↵
|
14 | File file2 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file2.txt.bak");↵ | | 14 | File file2 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file2.txt");↵
|
15 | File file3 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file3.txt.bak");↵ | | 15 | File file3 = new File(getProjectDir(), getProject().getProperty("to.dir")+"/file3.txt");↵
|
16 | assertTrue(file1.exists());↵ | | 16 | assertTrue(file1.exists());↵
|
17 | assertTrue(file2.exists());↵ | | 17 | assertTrue(file2.exists());↵
|
18 | assertTrue(file3.exists());↵ | | 18 | assertTrue(file3.exists());↵
|
19 | | | 19 |
|