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