1 | void testContainsDoesnt() {↵ | | 1 | void testNegation() {↵
|
2 | expectPropertyUnset("contains-doesnt","contains-doesnt");↵ | | 2 | expectPropertySet("negation","negation");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testContainsAnycase() {↵ | | 4 | public void testNegationFalse() {↵
|
5 | expectPropertySet("contains-anycase","contains-anycase");↵ | | 5 | expectPropertyUnset("negationfalse","negationfalse");↵
|
6 | }↵ | | 6 | }↵
|
|
|
7 | public void testContainsIncomplete1() {↵ | | 7 | public void testNegationIncomplete() {↵
|
8 | expectSpecificBuildException("contains-incomplete1",↵ | | 8 | expectSpecificBuildException("negationincomplete",↵
|
9 | "Missing contains attribute",↵ | | 9 | ↵
|
10 | "both string and substring are required in contains↵ | | 10 | "no conditions in <not>",↵
|
11 | ");↵ | | 11 | "You must nest a condition into <not>");↵
|
12 | | | 12 |
|