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