1 | void testFilterSet() throws IOException {↵ | | 1 | void testFilterSet() throws IOException {↵
|
2 | executeTarget("testFilterSet");↵ | | 2 | executeTarget("testFilterSet");↵
|
3 | File tmp = new File(getProjectDir(), "copy.filterset.tmp");↵ | | 3 | File tmp = new File(getProjectDir(), "move.filterset.tmp");↵
|
4 | File check = new File(getProjectDir(), "expected/copy.filterset.filtered");↵ | | 4 | File check = new File(getProjectDir(), "expected/copy.filterset.filtered");↵
|
5 | assertTrue(tmp.exists());↵ | | 5 | assertTrue(tmp.exists());↵
|
6 | assertTrue(FILE_UTILS.contentEquals(tmp, check));↵ | | 6 | assertTrue(FILE_UTILS.contentEquals(tmp, check));↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void testFilterChain() throws IOException {↵ | | 8 | public void testFilterChain() throws IOException {↵
|
9 | executeTarget("testFilterChain");↵ | | 9 | executeTarget("testFilterChain");↵
|
10 | File tmp = new File(getProjectDir(), "copy.filterchain.tmp");↵ | | 10 | File tmp = new File(getProjectDir(), "move.filterchain.tmp");↵
|
11 | File check = new File(getProjectDir(), "expected/copy.filterset.filtered");↵ | | 11 | File check = new File(getProjectDir(), "expected/copy.filterset.filtered");↵
|
12 | assertTrue(tmp.exists());↵ | | 12 | assertTrue(tmp.exists());↵
|
13 | assertTrue(FILE_UTILS.contentEquals(tmp, check));↵ | | 13 | assertTrue(FILE_UTILS.contentEquals(tmp, check));↵
|
14 | | | 14 |
|