1 | void testSimple() throws Exception {↵ | | 1 | void testEmpty() {↵
|
2 | executeJspCompile("testSimple", "simple_jsp.java");↵ | | 2 | expec↵
|
3 | }↵ | | |
|
|
|
4 | /**↵ | | |
|
5 | * A unit test for JUnit↵ | | 3 | tBuildException("empty", "required argument not specified");↵
|
6 | */↵ | | 4 | }↵
|
|
7 | public void testUriroot() throws Exception {↵ | | 5 | public void testNoName() {↵
|
8 | executeJspCompile("testUriroot", "uriroot_jsp.java");↵ | | 6 | expec↵
|
9 | }↵ | | |
|
|
|
10 | /**↵ | | |
|
11 | * A unit test for JUnit↵ | | |
|
12 | */↵ | | |
|
13 | public void testXml() throws Exception↵ | | 7 | tBuildException("noName", "required argument not specified");↵
|
| | | 8 | }↵
|
|
14 | {↵ | | 9 | public void testNoClassname() {↵
|
15 | executeJspCompile("testXml", "xml_jsp.java");↵ | | 10 | expec↵
|
16 | }↵ | | |
|
|
|
17 | /**↵ | | |
|
18 | * try a keyword in a file↵ | | 11 | tBuildException("noClassname", "required argument not specified");↵
|
19 | */↵ | | 12 | }↵
|
|
20 | public void testKeyword() throws Exception {↵ | | 13 | public void testClassNotFound() {↵
|
21 | executeJspCompile("testKeyword", "default_jsp.java↵ | | 14 | expectBuildException("classNotFound",↵
|
22 | ");↵ | | 15 | "classname specified doesn't exist");↵
|
23 | | | 16 |
|