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