1 | void testRunAdapter() {↵ | | 1 | void testNestedC() {↵
|
2 | expectLogContaining("runadapter", "MyRunnable called");↵ | | 2 | expectLogContaining("nested.c", "add C called");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testRunAdapterError() {↵ | | 4 | public void testNestedAB() {↵
|
5 | expectBuildExceptionContaining(↵ | | 5 | expectBuildExceptionContaining(↵
|
6 | "runadaptererror", "xx", "No public run() method in");↵ | | 6 | "nested.ab", "Should have got ambiguous", "ambiguous");↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void testDelay() {↵ | | 8 | public void testConditionType() {↵
|
9 | expectLogContaining("delay", "MyTask called");↵ | | 9 | expectLogContaining("condition.type", "beforeafter");↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testOnErrorReport() {↵ | | 11 | public void testConditionTask() {↵
|
12 | expectLogContaining("onerror.report",↵ | | 12 | expectLogContaining("con↵
|
13 | "MyTaskNotPresent cannot be found");↵ | | 13 | dition.task", "My Condition execution");↵
|
14 | | | 14 |
|