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