1 | void testRunAdapter() {↵ | | 1 | void testCore() {↵
|
2 | expectLogContaining("runadapter", "MyRunnable called");↵ | | 2 | expectLog("core", "MyTask called");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testRunAdapterError() {↵ | | 4 | public void testExcluded() {↵
|
5 | expectBuildExceptionContaining(↵ | | 5 | expectBuildExceptionContaining(↵
|
6 | "runadaptererror", "xx", "No public run() method in↵ | | 6 | "excluded", "excluded uri",↵
|
7 | ");↵ | | 7 | "Attempt to use a reserved URI ant:notallowed");↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testDelay() {↵ | | 9 | public void testOther() {↵
|
10 | expectLogContaining("delay", "MyTask called");↵ | | 10 | expectLog("other", "a message");↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public void testOnErrorReport() {↵ | | 12 | public void testNsAttributes() {↵
|
13 | expectLogContaining("onerror.report",↵ | | 13 | expectLog↵
|
14 | "MyTaskNotPresent cannot be found");↵ | | 14 | ("ns.attributes", "hello world");↵
|
15 | | | 15 |
|