1 | void testSimple() {↵ | | 1 | void testMappedFileset() {↵
|
2 | executeTarget("simple");↵ | | 2 | executeTarget("↵
|
3 | }↵ | | |
|
4 | public void testName() {↵ | | |
|
5 | executeTarget("name");↵ | | |
|
6 | }↵ | | 3 | testMappedFileset");↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * test the explicit mapped file set↵
|
| | | 7 | */↵
|
| | | 8 | public void testExplicitMappedFileset() {↵
|
| | | 9 | executeTarget("testExplicitMappedFileset");↵
|
| | | 10 | }↵
|
|
| | | 11 | /**↵
|
| | | 12 | * test the mapped file list↵
|
| | | 13 | */↵
|
7 | public void testBaseDir() {↵ | | 14 | public void testMappedFilelist() {↵
|
8 | executeTarget("basedir");↵ | | 15 | executeTarget("↵
|
9 | }↵ | | 16 | testMappedFilelist");↵
|
| | | 17 | }↵
|
|
| | | 18 | /**↵
|
| | | 19 | * test the pattern attribute↵
|
| | | 20 | */↵
|
10 | public void testType() {↵ | | 21 | public void testGoodPattern() {↵
|
11 | executeTarget("type");↵ | | 22 | executeTarget("t↵
|
12 | }↵ | | 23 | estGoodPattern");↵
|
| | | 24 | }↵
|
|
| | | 25 | /**↵
|
| | | 26 | * test the pattern attribute again↵
|
| | | 27 | */↵
|
13 | public void testNotSelector() {↵ | | 28 | public void testBadPattern() {↵
|
14 | expectBuildExceptionContaining(↵ | | 29 | expectBuildExceptionContaining(↵
|
15 | "not.selector", "checking for use as a selector (not allowed)",↵ | | |
|
16 | "fileset doesn't support the nested \"isfi↵ | | 30 | "testBadPattern",↵
|
17 | le");↵ | | 31 | "No parsing exception thrown", "Unparseable");↵
|
18 | } | | 32 | }
|