1 | void testSimple() throws Exception {↵ | | 1 | void testFork() {↵
|
2 | executeJspCompile("testSimple", "simple_jsp.java↵ | | 2 | expectLogContaining(↵
|
3 | ");↵ | | 3 | "fork", "Package: org.apache.tools.ant.util.facade");↵
|
4 | }↵ | | 4 | }↵
|
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * A unit test for JUnit↵ | | 6 | * Test fork xml↵
|
7 | */↵ | | 7 | */↵
|
8 | public void testUriroot() throws Exception {↵ | | 8 | public void testForkXml() {↵
|
9 | executeJspCompile("testUriroot", "uriroot_jsp.java↵ | | 9 | expectLogContaining(↵
|
10 | ");↵ | | 10 | "fork-xml", "<DependsUpon>");↵
|
11 | }↵ | | 11 | }↵
|
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * A unit test for JUnit↵ | | 13 | * Test timeout↵
|
14 | */↵ | | 14 | */↵
|
15 | public void testXml() throws Exception {↵ | | 15 | public void testTimeout() {↵
|
16 | executeJspCompile("testXml", "xml_jsp.java");↵ | | 16 | expec↵
|
17 | }↵ | | |
|
|
|
18 | /**↵ | | |
|
19 | * try a keyword in a file↵ | | 17 | tLogContaining(↵
|
| | | 18 | "fork-timeout", "JDepend FAILED - Timed out");↵
|
| | | 19 | }↵
|
|
|
| | | 20 | /**↵
|
| | | 21 | * Test timeout without timing out↵
|
20 | */↵ | | 22 | */↵
|
21 | public void testKeyword() throws Exception {↵ | | 23 | public void testTimeoutNot() {↵
|
22 | executeJspCompile("testKeyword", "default_jsp.java↵ | | 24 | expectLogContaining(↵
|
23 | ");↵ | | 25 | "fork-timeout-not", "Package: org.apache.tools.ant.util.facade");↵
|
24 | | | 26 |
|