1 | void testXml() throws Exception {↵ | | 1 | void testTextOptional() {↵
|
2 | executeJspCompile("testXml", "xml_jsp.java");↵ | | 2 | expec↵
|
3 | }↵ | | |
|
|
|
4 | /**↵ | | |
|
5 | * try a keyword in a file↵ | | |
|
6 | */↵ | | |
|
7 | public void testKeyword() throws Exception↵ | | 3 | tLog("text.optional", "MyTextoverride text");↵
|
| | | 4 | }↵
|
|
8 | {↵ | | 5 | public void testElementOrder() {↵
|
9 | executeJspCompile("testKeyword", "default_jsp.java");↵ | | 6 | expectLog("element.order", "↵
|
10 | }↵ | | |
|
|
|
11 | /**↵ | | |
|
12 | * what happens to 1nvalid-classname↵ | | |
|
13 | */↵ | | |
|
14 | public void testInvalidClassname() throws Exception↵ | | 7 | Line 1Line 2");↵
|
| | | 8 | }↵
|
|
15 | {↵ | | 9 | public void testElementOrder2() {↵
|
16 | executeJspCompile("testInvalidClassname",↵ | | 10 | expec↵
|
17 | "_1nvalid_0002dclassname_jsp.java");↵ | | 11 | tLog("element.order2", "Line 1Line 2Line 3");↵
|
18 | | | 12 |
|