1 | void testNestedAB() {↵ | | 1 | void testFilesmatchIncomplete() {↵
|
2 | expectBuildExceptionContaining(↵ | | 2 | expectSpecificBuildException↵
|
3 | "nested.ab", "Should have got ambiguous", "ambiguous↵ | | 3 | ("filesmatch-incomplete",↵
|
| | | 4 | "Missing file2 attribute",↵
|
4 | ");↵ | | 5 | "both file1 and file2 are required in filesmatch");↵
|
5 | }↵ | | 6 | }↵
|
|
6 | public void testConditionType() {↵ | | 7 | public void testFilesmatchOddsizes() {↵
|
7 | expectLogContaining("condition.type", "beforeafter");↵ | | 8 | expectPropertyUnset("filesmatch-oddsizes","filesmatch-oddsizes");↵
|
8 | }↵ | | 9 | }↵
|
|
9 | public void testConditionTask() {↵ | | 10 | public void test↵
|
10 | expectLogContaining("condition.task", "My Condition execution↵ | | 11 | FilesmatchExistence() {↵
|
11 | ");↵ | | 12 | expectPropertyUnset("filesmatch-existence", "filesmatch-existence");↵
|
12 | }↵ | | 13 | }↵
|
|
13 | public void testConditionConditionType() {↵ | | 14 | public void test↵
|
14 | expectLogContaining("condition.condition.type", "My Condition eval↵ | | 15 | FilesmatchDifferent() {↵
|
15 | ");↵ | | 16 | expectPropertyUnset("filesmatch-different","filesmatch-different");↵
|
16 | } | | 17 | }
|