1 | void testElementOrder() {↵ | | 1 | void testAntlibFile() {↵
|
2 | expectLog("element.order", "Line 1Line 2");↵ | | 2 | expectLog("antlib.file", "MyTask called");↵
|
| | | 3 | }↵
|
|
| | | 4 | /**↵
|
| | | 5 | * Confirms that all matching resources will be used, so that you↵
|
| | | 6 | * can collect several antlibs in one Definer call.↵
|
| | | 7 | * @see "http://issues.apache.org/bugzilla/show_bug.cgi?id=24024"↵
|
3 | }↵ | | 8 | ↵
|
| | | 9 | */↵
|
4 | public void testElementOrder2() {↵ | | 10 | public void testAntlibResource() {↵
|
5 | expectLog("element.order2", "Line 1Line 2Line 3");↵ | | 11 | expectLog("antlib.resource", "MyTask called-and-then-MyTask2 called");↵
|
6 | }↵ | | 12 | }↵
|
|
7 | public void testAntTypeTest() {↵ | | 13 | public void testNsCurrent() {↵
|
8 | expectLog("antTypeTest", "");↵ | | 14 | expectLog("ns.current", "Echo2 inside a macroHello from x:p");↵
|
9 | } | | 15 | }
|