1 | void testTrimString() {↵ | | 1 | void test↵
|
2 | executeTarget("testTrimString");↵ | | |
|
3 | }↵ | | |
|
|
4 | public void testTrimStringCondi↵ | | 2 | EchoPrefix() throws Exception {↵
|
| | | 3 | testEchoPrefixVarious("testEchoPrefix");↵
|
| | | 4 | }↵
|
|
5 | tion() {↵ | | 5 | public void testEchoPrefixAsPropertyset() throws Exception {↵
|
6 | executeTarget("testTrimStringCondition");↵ | | 6 | ↵
|
7 | }↵ | | |
|
|
8 | public void testNoTrimString() {↵ | | |
|
9 | executeTarget("testNoTrimString");↵ | | |
|
10 | }↵ | | |
|
|
11 | public void testNoTrimStringCondi↵ | | 7 | testEchoPrefixVarious("testEchoPrefixAsPropertyset");↵
|
| | | 8 | }↵
|
|
| | | 9 | public void testEchoPrefixAsNegatedPropertyset() throws Exception {↵
|
| | | 10 | testEchoPrefixVarious("testEchoPrefixAsNegatedPropertyset");↵
|
| | | 11 | }↵
|
|
12 | tion() {↵ | | 12 | public void testEchoPrefixAsDoublyNegatedPropertyset() throws Exception {↵
|
13 | executeTarget("testNoTrimStringCondition");↵ | | 13 | ↵
|
14 | }↵ | | |
|
|
15 | public void testStringFile()↵ | | 14 | testEchoPrefixVarious("testEchoPrefixAsDoublyNegatedPropertyset");↵
|
| | | 15 | }↵
|
|
16 | {↵ | | 16 | public void testWithPrefixAndRegex() throws Exception {↵
|
17 | expectBuildExceptionContaining("testStringFile",↵ | | 17 | expectSpecificBuildException↵
|
18 | "should fail", "incompatible↵ | | 18 | ("testWithPrefixAndRegex",↵
|
| | | 19 | "The target must fail with prefix and regex attributes set",↵
|
19 | ");↵ | | 20 | "Please specify either prefix or regex, but not both");↵
|
20 | | | 21 |
|