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