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 | }↵
|
|
12 | public void testDelay() {↵ | | 12 | public void testAddConfigured() {↵
|
13 | expectLogContaining("delay", "MyTask called↵ | | 13 | expectLogContaining(↵
|
14 | ");↵ | | 14 | "myaddconfigured", "value is Value Setexecute: value is Value Set");↵
|
15 | }↵ | | 15 | }↵
|
|
16 | public void testOnErrorReport() {↵ | | 16 | public void testAddConfiguredValue() {↵
|
17 | expectLogContaining("onerror.report",↵ | | 17 | expectLogContaining(↵
|
18 | "MyTaskNotPresent cannot be found↵ | | |
|
| | | 18 | "myaddconfiguredvalue",↵
|
19 | ");↵ | | 19 | "value is Value Setexecute: value is Value Set");↵
|
20 | | | 20 |
|