1 | void testEchoPrefix() throws Exception {↵ | | 1 | void test↵
|
2 | testEchoPrefixVarious("testEchoPrefix");↵ | | |
|
3 | }↵ | | |
|
|
4 | public void testEchoPrefixAsPropertyset() throws Exception {↵ | | |
|
5 | testEchoPrefixVarious("testEchoPrefixAsPropertyset");↵ | | |
|
6 | }↵ | | |
|
|
7 | public void testEchoPrefixAsNegatedPropertyset() throws Exception {↵ | | |
|
8 | testEchoPrefixVarious("testEchoPrefixAsNegatedPropertyset");↵ | | |
|
9 | }↵ | | |
|
|
10 | public void testEchoPrefixAsDoublyNegatedPropertyset() throws Exception {↵ | | |
|
11 | testEchoPrefixVarious("testEchoPrefixAsDoublyNegatedPropertyset");↵ | | |
|
12 | }↵ | | |
|
|
13 | public void testWithPrefixAndRegex() throws Exception↵ | | 2 | Noop() {↵
|
| | | 3 | executeTarget("noop");↵
|
| | | 4 | }↵
|
|
| | | 5 | public void testCurrent() {↵
|
| | | 6 | executeTarget("current");↵
|
| | | 7 | }↵
|
|
| | | 8 | public void testFaster() {↵
|
| | | 9 | executeTarget("faster");↵
|
| | | 10 | }↵
|
|
| | | 11 | public void testSlower() {↵
|
| | | 12 | executeTarget("slower");↵
|
| | | 13 | }↵
|
|
14 | {↵ | | 14 | public void testTooSlow() {↵
|
15 | expectSpecificBuildException("testWithPrefixAndRegex",↵ | | 15 | expectBuildException↵
|
16 | "The target must fail with prefix and regex attributes set",↵ | | |
|
17 | "Please specify either prefix or regex, but not both↵ | | 16 | Containing(↵
|
18 | ");↵ | | 17 | "too_slow","out of range","out of the range 1-10");↵
|
19 | } | | 18 | }
|