|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
TestXMLFileT.java | - | 100% | 100% | 100% |
|
1 |
package junit.extensions.xml;
|
|
2 |
|
|
3 |
import junit.framework.Test;
|
|
4 |
|
|
5 |
/**
|
|
6 |
* <p>Title: Test a real XML File.</p>
|
|
7 |
* <p>Description: Test a real XML file.</p>
|
|
8 |
* <p>Copyright: Copyright (c) 2003</p>
|
|
9 |
* <p>Company: JFCUnit OpenSource Project</p>
|
|
10 |
* @author Kevin Wilson
|
|
11 |
* @version 1.0
|
|
12 |
*/
|
|
13 |
public class TestXMLFileT |
|
14 |
extends XMLTestSuite {
|
|
15 |
|
|
16 |
/**
|
|
17 |
* File to be tested.
|
|
18 |
*/
|
|
19 |
private static String s_file = "junit/extensions/xml/choose.xml"; |
|
20 |
|
|
21 |
/**
|
|
22 |
* Constructor.
|
|
23 |
* @param name Name of the test.
|
|
24 |
*/
|
|
25 | 1 |
public TestXMLFileT(final String name) {
|
26 | 1 |
super(name);
|
27 |
} |
|
28 |
|
|
29 |
/**
|
|
30 |
* Generate a test suite.
|
|
31 |
* @return Test suite for the file.
|
|
32 |
*/
|
|
33 | 1 |
public static Test suite() { |
34 | 1 |
return new TestXMLFileT(s_file); |
35 |
} |
|
36 |
} |
|
37 |
|
|