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