1 | void testTaskAdapter() {↵ | | 1 | void testConditionTask() {↵
|
2 | expectLogContaining("taskadapter", "MyExec called");↵ | | 2 | expectLogContaining("condition.task", "My Condition execution");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testRunAdapter() {↵ | | 4 | public void testConditionConditionType() {↵
|
5 | expectLogContaining("runadapter", "MyRunnable called");↵ | | 5 | expectLogContaining("condition.condition.type", "My Condition eval");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testRunAdapterError() {↵ | | 7 | public void testConditionConditionTask() {↵
|
8 | expectBuildExceptionContaining(↵ | | 8 | expectBuildExceptionContaining(↵
|
9 | "runadaptererror", "xx", "No public run() method in↵ | | 9 | "condition.condition.task", "task masking condition",↵
|
10 | ");↵ | | 10 | "doesn't support the nested");↵
|
11 | | | 11 |
|