1 | void testRunAdapter() {↵ | | 1 | void testConditionConditionType() {↵
|
2 | expectLogContaining("runadapter", "MyRunnable called");↵ | | 2 | expectLogContaining("condition.condition.type", "My Condition eval");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testRunAdapterError() {↵ | | 4 | public void testConditionConditionTask() {↵
|
5 | expectBuildExceptionContaining(↵ | | 5 | expectBuildExceptionContaining(↵
|
6 | "runadaptererror", "xx", "No public run() method in↵ | | 6 | "condition.condition.task", "task masking condition",↵
|
7 | ");↵ | | 7 | "doesn't support the nested");↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testDelay() {↵ | | 9 | public void testAddConfigured() {↵
|
10 | expectLogContaining("delay", "MyTask called↵ | | 10 | expectLogContaining(↵
|
11 | ");↵ | | 11 | "myaddconfigured", "value is Value Setexecute: value is Value Set");↵
|
12 | }↵ | | 12 | }↵
|
|
13 | public void testOnErrorReport() {↵ | | 13 | public void testAddConfiguredValue() {↵
|
14 | expectLogContaining("onerror.report",↵ | | 14 | expectLogContaining(↵
|
15 | "MyTaskNotPresent cannot be found↵ | | |
|
| | | 15 | "myaddconfiguredvalue",↵
|
16 | ");↵ | | 16 | "value is Value Setexecute: value is Value Set");↵
|
17 | | | 17 |
|