1 | void testFork() {↵ | | 1 | void testEmpty() {↵
|
2 | expectLogContaining(↵ | | 2 | expect↵
|
3 | "fork", "Package: org.apache.tools.ant.util.facade");↵ | | |
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * Test fork xml↵ | | |
|
7 | */↵ | | 3 | BuildException("empty", "required argument not specified");↵
|
| | | 4 | }↵
|
|
8 | public void testForkXml() {↵ | | 5 | public void testNoName() {↵
|
9 | expectLogContaining(↵ | | 6 | expect↵
|
10 | "fork-xml", "<DependsUpon>");↵ | | |
|
11 | }↵ | | |
|
|
12 | /**↵ | | |
|
13 | * Test timeout↵ | | |
|
14 | */↵ | | 7 | BuildException("noName", "required argument not specified");↵
|
| | | 8 | }↵
|
|
15 | public void testTimeout() {↵ | | 9 | public void testNoClassname() {↵
|
16 | expectLogContaining(↵ | | 10 | expect↵
|
17 | "fork-timeout", "JDepend FAILED - Timed out");↵ | | |
|
18 | }↵ | | |
|
|
|
19 | /**↵ | | |
|
20 | * Test timeout without timing out↵ | | 11 | BuildException("noClassname", "required argument not specified");↵
|
21 | */↵ | | 12 | }↵
|
|
22 | public void testTimeoutNot() {↵ | | 13 | public void testClassNotFound() {↵
|
23 | expectLogContaining(↵ | | 14 | expect↵
|
24 | "fork-timeout-not", "Package: org.apache.tools.ant.util.facade↵ | | 15 | BuildException("classNotFound",↵
|
25 | ");↵ | | 16 | "classname specified doesn't exist");↵
|
26 | | | 17 |
|