1 | void testMappedFileset() {↵ | | 1 | void test↵
|
2 | executeTarget("testMappedFileset");↵ | | |
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * test the explicit mapped file set↵ | | |
|
6 | */↵ | | |
|
7 | public void testExplicitMappedFileset() {↵ | | |
|
8 | executeTarget("testExplicitMappedFileset");↵ | | |
|
9 | }↵ | | |
|
|
10 | /**↵ | | |
|
11 | * test the mapped file list↵ | | |
|
12 | */↵ | | |
|
13 | public void testMappedFilelist() {↵ | | |
|
14 | executeTarget("testMappedFilelist");↵ | | |
|
15 | }↵ | | |
|
|
16 | /**↵ | | |
|
17 | * test the pattern attribute↵ | | |
|
18 | */↵ | | |
|
19 | public void testGoodPattern() {↵ | | |
|
20 | executeTarget("testGoodPattern");↵ | | |
|
21 | }↵ | | |
|
|
22 | /**↵ | | |
|
| | | 2 | EchoPrefix() throws Exception {↵
|
| | | 3 | testEchoPrefixVarious("testEchoPrefix");↵
|
| | | 4 | }↵
|
|
| | | 5 | public void testEchoPrefixAsPropertyset() throws Exception {↵
|
| | | 6 | testEchoPrefixVarious("testEchoPrefixAsPropertyset");↵
|
| | | 7 | }↵
|
|
| | | 8 | public void testEchoPrefixAsNegatedPropertyset() throws Exception {↵
|
| | | 9 | testEchoPrefixVarious("testEchoPrefixAsNegatedPropertyset");↵
|
| | | 10 | }↵
|
|
| | | 11 | public void testEchoPrefixAsDoublyNegatedPropertyset() throws Exception {↵
|
23 | * test the pattern attribute again↵ | | 12 | testEchoPrefixVarious("testEchoPrefixAsDoublyNegatedPropertyset");↵
|
24 | */↵ | | 13 | }↵
|
|
25 | public void testBadPattern() {↵ | | 14 | public void testWithPrefixAndRegex() throws Exception {↵
|
26 | expectBuildExceptionContaining("testBadPattern",↵ | | 15 | expectSpecificBuildException↵
|
27 | "No parsing exception thrown", "Unparseable↵ | | 16 | ("testWithPrefixAndRegex",↵
|
| | | 17 | "The target must fail with prefix and regex attributes set",↵
|
28 | ");↵ | | 18 | "Please specify either prefix or regex, but not both");↵
|
29 | | | 19 |
|