1 | void testRunAdapterError() {↵ | | 1 | void testNoResourceOnErrorFailAll(){↵
|
2 | expectBuildExceptionContaining(↵ | | 2 | this.expectBuildExceptionContaining(↵
|
3 | "runadaptererror", "xx", "No public run() method in");↵ | | 3 | "noresourcefailall","the requested resource does not exist","Could not load definitions from resource ");↵
|
4 | }↵ | | 4 | }↵
|
| | | 5 | ↵
|
5 | public void testDelay() {↵ | | 6 | public void testNoResourceOnErrorFail(){↵
|
6 | expectLogContaining("delay", "MyTask called");↵ | | 7 | expectLogContaining("noresourcefail","Could not load definitions from resource ");↵
|
7 | }↵ | | 8 | }↵
|
| | | 9 | ↵
|
8 | public void testOnErrorReport() {↵ | | 10 | public void testNoResourceOnErrorNotFail(){↵
|
9 | expectLogContaining("onerror.report",↵ | | 11 | expectLogContaining("↵
|
10 | "MyTaskNotPresent cannot be found");↵ | | 12 | noresourcenotfail","Could not load definitions from resource ");↵
|
11 | | | 13 |
|