1 | void testTextOptional() {↵ | | 1 | void testUriroot() throws Exception {↵
|
2 | expectLog("text.optional", "MyTextoverride text");↵ | | 2 | exec↵
|
3 | }↵ | | |
|
|
4 | public void testElementOrder()↵ | | 3 | uteJspCompile("testUriroot", "uriroot_jsp.java");↵
|
| | | 4 | }↵
|
|
|
| | | 5 | /**↵
|
| | | 6 | * A unit test for JUnit↵
|
| | | 7 | */↵
|
5 | {↵ | | 8 | public void testXml() throws Exception {↵
|
6 | expectLog("element.order", "Line 1Line 2");↵ | | 9 | exec↵
|
| | | 10 | uteJspCompile("testXml", "xml_jsp.java");↵
|
| | | 11 | }↵
|
|
|
| | | 12 | /**↵
|
| | | 13 | * try a keyword in a file↵
|
7 | }↵ | | 14 | ↵
|
| | | 15 | */↵
|
8 | public void testElementOrder2() {↵ | | 16 | public void testKeyword() throws Exception {↵
|
9 | expectLog("element.order2", "Line 1Line 2Line 3");↵ | | 17 | exec↵
|
| | | 18 | uteJspCompile("testKeyword", "default_jsp.java");↵
|
| | | 19 | }↵
|
|
|
| | | 20 | /**↵
|
| | | 21 | * what happens to 1nvalid-classname↵
|
10 | }↵ | | 22 | ↵
|
| | | 23 | */↵
|
11 | public void testAntTypeTest() {↵ | | 24 | public void testInvalidClassname() throws Exception {↵
|
12 | expectLog("antTypeTest", "↵ | | 25 | executeJspCompile("testInvalidClassname",↵
|
13 | ");↵ | | 26 | "_1nvalid_0002dclassname_jsp.java");↵
|
14 | | | 27 |
|