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