1 | void testSimple() throws Exception {↵ | | 1 | void testUri() {↵
|
2 | executeJspCompile("testSimple", "simple_jsp.java");↵ | | 2 | expec↵
|
3 | }↵ | | |
|
|
|
4 | /**↵ | | |
|
5 | * A unit test for JUnit↵ | | |
|
6 | */↵ | | |
|
7 | public void testUriroot() throws Exception↵ | | 3 | tLog("uri", "Hello world");↵
|
| | | 4 | }↵
|
|
8 | {↵ | | 5 | public void testDefaultTest() {↵
|
9 | executeJspCompile("testUriroot", "uriroot_jsp.java");↵ | | 6 | expec↵
|
10 | }↵ | | |
|
|
|
11 | /**↵ | | |
|
12 | * A unit test for JUnit↵ | | |
|
13 | */↵ | | |
|
14 | public void testXml() throws Exception↵ | | 7 | tLog("defaulttest", "attribute is false");↵
|
| | | 8 | }↵
|
|
15 | {↵ | | 9 | public void testDoubleDefault() {↵
|
16 | executeJspCompile("testXml", "xml_jsp.java");↵ | | 10 | expec↵
|
17 | }↵ | | |
|
|
|
18 | /**↵ | | |
|
19 | * try a keyword in a file↵ | | |
|
20 | ↵ | | 11 | tLog("doubledefault", "attribute is falseattribute is true");↵
|
21 | */↵ | | 12 | }↵
|
|
22 | public void testKeyword() throws Exception {↵ | | 13 | public void testTextOptional() {↵
|
23 | executeJspCompile("testKeyword", "default_jsp.java");↵ | | 14 | expectLog("text.optional", "MyTextoverride text");↵
|
24 | | | 15 |
|