1 | void testXml() throws Exception {↵ | | 1 | void testFileSetAntType() {↵
|
2 | executeJspCompile("testXml", "xml_jsp.java");↵ | | 2 | expec↵
|
3 | }↵ | | |
|
|
|
4 | /**↵ | | |
|
5 | * try a keyword in a file↵ | | 3 | tLogContaining("fileset-ant-type", "types.PolyTest$MyFileSet");↵
|
6 | */↵ | | 4 | }↵
|
|
7 | public void testKeyword() throws Exception {↵ | | 5 | public void testPath() {↵
|
8 | executeJspCompile("testKeyword", "default_jsp.java");↵ | | 6 | expec↵
|
9 | }↵ | | |
|
|
|
10 | /**↵ | | |
|
11 | * what happens to 1nvalid-classname↵ | | |
|
12 | */↵ | | |
|
13 | public void testInvalidClassname() throws Exception↵ | | 7 | tLogContaining("path", "types.Path");↵
|
| | | 8 | }↵
|
|
14 | {↵ | | 9 | public void testPathAntType() {↵
|
15 | executeJspCompile("testInvalidClassname",↵ | | 10 | expec↵
|
16 | "_1nvalid_0002dclassname_jsp.java");↵ | | 11 | tLogContaining("path-ant-type", "types.PolyTest$MyPath");↵
|
17 | } | | 12 | }
|