1 | void testNestedA() {↵ | | 1 | void testConditionType() {↵
|
2 | expectLogContaining("nested.a", "add A called");↵ | | 2 | expectLogContaining("condition.type", "beforeafter");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testNestedB() {↵ | | 4 | public void testConditionTask() {↵
|
5 | expectLogContaining("nested.b", "add B called");↵ | | 5 | expectLogContaining("condition.task", "My Condition execution");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testNestedC() {↵ | | 7 | public void testConditionConditionType() {↵
|
8 | expectLogContaining("nested.c", "add C called");↵ | | 8 | expectLogContaining("condition.condition.type", "My Condition eval");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testNestedAB() {↵ | | 10 | public void testConditionConditionTask() {↵
|
11 | expectBuildExceptionContaining(↵ | | 11 | expectBuildExceptionContaining(↵
|
12 | "nested.ab", "Should have got ambiguous", "ambiguous↵ | | 12 | "condition.condition.task", "task masking condition",↵
|
13 | ");↵ | | 13 | "doesn't support the nested");↵
|
14 | | | 14 |
|