1 | void testEchoPrefix() throws Exception {↵ | | 1 | void test↵
|
2 | testEchoPrefixVarious("testEchoPrefix↵ | | 2 | Simple() {↵
|
3 | ");↵ | | 3 | executeTarget("simple");↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void testEchoPrefixAsPropertyset() throws Exception {↵ | | 5 | public void test↵
|
6 | testEchoPrefixVarious("testEchoPrefixAsPropertyset↵ | | 6 | Name() {↵
|
7 | ");↵ | | 7 | executeTarget("name");↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testEchoPrefixAsNegatedPropertyset() throws Exception {↵ | | 9 | public void test↵
|
10 | testEchoPrefixVarious("testEchoPrefixAsNegatedPropertyset↵ | | 10 | BaseDir() {↵
|
11 | ");↵ | | 11 | executeTarget("basedir");↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public void testEchoPrefixAsDoublyNegatedPropertyset() throws Exception {↵ | | 13 | public void test↵
|
14 | testEchoPrefixVarious("testEchoPrefixAsDoublyNegatedPropertyset↵ | | 14 | Type() {↵
|
15 | ");↵ | | 15 | executeTarget("type");↵
|
16 | }↵ | | 16 | }↵
|
|
17 | public void testWithPrefixAndRegex() throws Exception {↵ | | 17 | public void testNotSelector() {↵
|
18 | expectSpecificBuildException("testWithPrefixAndRegex",↵ | | 18 | expectBuildException↵
|
19 | ↵ | | 19 | Containing(↵
|
20 | "The target must fail with prefix and regex attributes set",↵ | | 20 | "not.selector", "checking for use as a selector (not allowed)",↵
|
21 | "Please specify either prefix or regex, but not both");↵ | | 21 | "fileset doesn't support the nested \"isfile");↵
|
22 | } | | 22 | }
|