1 | void testSimple() throws Exception {↵ | | 1 | void testXml() throws Exception {↵
|
2 | executeJspCompile("testSimple", "simple_jsp.java");↵ | | 2 | executeJspCompile("testXml", "xml_jsp.java");↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * A unit test for JUnit↵ | | 5 | * try a keyword in a file↵
|
6 | */↵ | | 6 | */↵
|
7 | public void testUriroot() throws Exception {↵ | | 7 | public void testKeyword() throws Exception {↵
|
8 | executeJspCompile("testUriroot", "uriroot_jsp.java");↵ | | 8 | executeJspCompile("testKeyword", "default_jsp.java");↵
|
9 | }↵ | | 9 | }↵
|
|
|
10 | /**↵ | | 10 | /**↵
|
11 | * A unit test for JUnit↵ | | 11 | * what happens to 1nvalid-classname↵
|
12 | */↵ | | 12 | */↵
|
13 | public void testXml() throws Exception {↵ | | 13 | public void testInvalidClassname() throws Exception {↵
|
14 | executeJspCompile("testXml", "xml↵ | | 14 | executeJspCompile("testInvalidClassname",↵
|
15 | _jsp.java");↵ | | 15 | "_1nvalid_0002dclassname_jsp.java");↵
|
16 | | | 16 |
|