1 | void testRunAdapterError() {↵ | | 1 | void testUndefined() {↵
|
2 | expectBuildExceptionContaining(↵ | | 2 | expectBuildExceptionContaining(↵
|
3 | "runadaptererror", "xx", "No public run() method in");↵ | | 3 | "testUndefined","left out the name attribute", "No type specified");↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void testDelay() {↵ | | 5 | public void test↵
|
6 | expectLogContaining("delay", "MyTask call↵ | | 6 | TaskThatIsntDefined() {↵
|
7 | ed");↵ | | 7 | expectPropertyUnset("testTaskThatIsntDefined", "testTaskThatIsntDefined");↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testOnErrorReport() {↵ | | 9 | public void test↵
|
10 | expectLogContaining("onerror.report",↵ | | |
|
11 | "MyTaskNotPr↵ | | 10 | TaskThatDoesntReallyExist() {↵
|
12 | esent cannot be found");↵ | | 11 | expectPropertyUnset("testTaskThatDoesntReallyExist", "testTaskThatDoesntReallyExist");↵
|
13 | }↵ | | 12 | }↵
|
|
14 | public void testOnErrorIgnore() {↵ | | 13 | public void testType() {↵
|
15 | expectLog("onerror.ignore","");↵ | | 14 | expectPropertySet("testType", "testType");↵
|
16 | | | 15 |
|