1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
package org.qedeq.kernel.xml.schema; |
16 |
|
|
17 |
|
import java.io.File; |
18 |
|
|
19 |
|
import org.qedeq.base.test.QedeqTestCase; |
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
@version |
25 |
|
@author |
26 |
|
|
|
|
| 63.6% |
Uncovered Elements: 4 (11) |
Complexity: 5 |
Complexity Density: 0.62 |
|
27 |
|
public class SchemaTest extends QedeqTestCase { |
28 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
29 |
1
|
protected void setUp() throws Exception {... |
30 |
1
|
super.setUp(); |
31 |
|
} |
32 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
33 |
1
|
protected void tearDown() throws Exception {... |
34 |
1
|
super.tearDown(); |
35 |
|
} |
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
@throws |
41 |
|
|
|
|
| 33.3% |
Uncovered Elements: 4 (6) |
Complexity: 3 |
Complexity Density: 0.5 |
1
PASS
|
|
42 |
1
|
public void testXml() throws Exception {... |
43 |
1
|
try { |
44 |
1
|
org.apache.xalan.xslt.Process.main(new String[] { |
45 |
|
|
46 |
|
"-IN", getFile("qedeq.xml").toString(), "-XSL", |
47 |
|
getFile("qedeq.xsl").toString(), |
48 |
|
"-OUT", (new File(getOutdir(), "qedeq.html")).toString(), "-HTML"}); |
49 |
|
} catch (RuntimeException t) { |
50 |
0
|
t.printStackTrace(); |
51 |
0
|
throw t; |
52 |
|
} catch (Error t) { |
53 |
0
|
t.printStackTrace(); |
54 |
0
|
throw t; |
55 |
|
} |
56 |
|
} |
57 |
|
} |