1 | void testXml() throws Exception {↵ | | 1 | void testNoName() {↵
|
2 | executeJspCompile("testXml", "xml_jsp.java");↵ | | 2 | expec↵
|
3 | }↵ | | |
|
|
|
4 | /**↵ | | |
|
5 | * try a keyword in a file↵ | | 3 | tBuildException("noName", "required argument not specified");↵
|
6 | */↵ | | 4 | }↵
|
|
7 | public void testKeyword() throws Exception {↵ | | 5 | public void testNoClassname() {↵
|
8 | executeJspCompile("testKeyword", "default_jsp.java");↵ | | 6 | expec↵
|
9 | }↵ | | |
|
|
|
10 | /**↵ | | |
|
11 | * what happens to 1nvalid-classname↵ | | 7 | tBuildException("noClassname", "required argument not specified");↵
|
12 | */↵ | | 8 | }↵
|
|
13 | public void testInvalidClassname() throws Exception {↵ | | 9 | public void testClassNotFound() {↵
|
14 | executeJspCompile("testInvalidClassname",↵ | | 10 | expectBuildException("classNotFound",↵
|
15 | "_1nvalid_0002dclassname_jsp.java");↵ | | 11 | "classname specified doesn't exist");↵
|
16 | } | | 12 | }
|