1 | void testNoTrimStringCondition() {↵ | | 1 | void testReferences() {↵
|
2 | executeTarget("testNoTrimStringCondition");↵ | | 2 | expectAssertion("test-references");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testStringFile() {↵ | | 4 | public void testMultipleAssertions() {↵
|
5 | expectBuildExceptionContaining("testStringFile",↵ | | 5 | expectBuildExceptionContaining("test-multiple-assertions",↵
|
6 | "should fail", "incompatible↵ | | 6 | "multiple assertions rejected",↵
|
7 | ");↵ | | 7 | "Only one assertion declaration is allowed");↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testTrimFile() {↵ | | 9 | public void testReferenceAbuse() {↵
|
10 | expectBuildExceptionContaining("testTrimFile",↵ | | 10 | expectBuildExceptionContaining("test-reference-abuse",↵
|
11 | "should fail", "string length function onl↵ | | 11 | "reference abuse rejected",↵
|
12 | y");↵ | | 12 | "You must not specify");↵
|
13 | | | 13 |
|