1 | void testTwoPatternSets() {↵ | | 1 | void testPatternSetIncludeOnly() {↵
|
2 | executeTarget("testTwoPatternSets");↵ | | 2 | executeTarget("testPatternSetIncludeOnly");↵
|
3 | assertFileMissing("1/foo is not included", "unziptestout/1/foo");↵ | | 3 | assertFileMissing("1/foo is not included", "unziptestout/1/foo");↵
|
4 | assertFileExists("2/bar is included", "unziptestout/2/bar");↵ | | 4 | assertFileExists("2/bar is included", "unziptestout/2/bar");↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /*↵ | | 6 | /*↵
|
7 | * PR 38973↵ | | 7 | * PR 11100↵
|
8 | */↵ | | 8 | */↵
|
9 | public void testTwoPatternSetsWithExcludes() {↵ | | 9 | public void testPatternSetIncludeAndExclude() {↵
|
10 | executeTarget("testTwoPatternSetsWithExcludes");↵ | | 10 | executeTarget("testPatternSetIncludeAndExclude");↵
|
11 | assertFileMissing("1/foo is not included", "unziptestout/1/foo");↵ | | 11 | assertFileMissing("1/foo is not included", "unziptestout/1/foo");↵
|
12 | assertFileMissing("2/bar is excluded", "unziptestout/2/bar");↵ | | 12 | assertFileMissing("2/bar is excluded", "unziptestout/2/bar");↵
|
13 | | | 13 |
|