1 | void testEscape() {↵ | | 1 | void testUriroot() throws Exception {↵
|
2 | expectLog(↵ | | 2 | exec↵
|
3 | "escape",↵ | | |
|
4 | "a@b or a@b is avalue@bvalue");↵ | | 3 | uteJspCompile("testUriroot", "uriroot_jsp.java");↵
|
| | | 4 | }↵
|
|
|
| | | 5 | /**↵
|
| | | 6 | * A unit test for JUnit↵
|
5 | }↵ | | 7 | */↵
|
6 | public void testAttributeDescription() {↵ | | 8 | public void testXml() throws Exception {↵
|
7 | expectLog(↵ | | 9 | exec↵
|
8 | "attribute.description",↵ | | |
|
9 | "description is hello world");↵ | | 10 | uteJspCompile("testXml", "xml_jsp.java");↵
|
| | | 11 | }↵
|
|
|
| | | 12 | /**↵
|
| | | 13 | * try a keyword in a file↵
|
10 | }↵ | | 14 | */↵
|
11 | public void testOverrideDefault() {↵ | | 15 | public void testKeyword() throws Exception {↵
|
12 | expectLog(↵ | | 16 | exec↵
|
13 | "override.default",↵ | | |
|
14 | "value is new");↵ | | 17 | uteJspCompile("testKeyword", "default_jsp.java");↵
|
| | | 18 | }↵
|
|
|
| | | 19 | /**↵
|
| | | 20 | * what happens to 1nvalid-classname↵
|
15 | }↵ | | 21 | */↵
|
16 | public void testImplicit() {↵ | | 22 | public void testInvalidClassname() throws Exception {↵
|
17 | expectLog(↵ | | 23 | exec↵
|
18 | "implicit", "Before implicitIn implicitAfter implicit↵ | | 24 | uteJspCompile("testInvalidClassname",↵
|
19 | ");↵ | | 25 | "_1nvalid_0002dclassname_jsp.java");↵
|
20 | | | 26 |
|