1 | void testFileSetAntType() {↵ | | 1 | void testAntlibFile() {↵
|
2 | expectLogContaining("fileset-ant-type", "types.PolyTest$MyFileSet");↵ | | 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 testPath() {↵ | | 10 | public void testAntlibResource() {↵
|
5 | expectLogContaining("path", "types.Path");↵ | | 11 | expectLog("antlib.resource", "MyTask called-and-then-MyTask2 called");↵
|
6 | }↵ | | 12 | }↵
|
|
7 | public void testPathAntType() {↵ | | 13 | public void testNsCurrent() {↵
|
8 | expectLogContaining("path-ant-type", "types.PolyTest$MyPath");↵ | | 14 | expectLog("ns.current", "Echo2 inside a macroHello from x:p");↵
|
9 | | | 15 |
|