1 | void testSlower() {↵ | | 1 | void testReferences() {↵
|
2 | executeTarget("slower");↵ | | 2 | expectAssertion("test-references");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testTooSlow() {↵ | | 4 | public void testMultipleAssertions() {↵
|
5 | expectBuildExceptionContaining(↵ | | 5 | expectBuildExceptionContaining(↵
|
6 | "too_slow","out of range","out of the range 1-10↵ | | 6 | "test-multiple-assertions",↵
|
| | | 7 | "multiple assertions rejected",↵
|
7 | ");↵ | | 8 | "Only one assertion declaration is allowed");↵
|
8 | }↵ | | 9 | }↵
|
|
9 | public void testTooFast() {↵ | | 10 | public void testReferenceAbuse() {↵
|
10 | expectBuildExceptionContaining(↵ | | 11 | expectBuildExceptionContaining(↵
|
11 | "too_fast", "out of range",↵ | | 12 | "test-reference-abuse",↵
|
| | | 13 | "reference abuse rejected",↵
|
12 | "out of the range 1-10");↵ | | 14 | "You must not specify");↵
|
13 | | | 15 |
|