|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| package org.jconfig.utils; |
|
8 |
| |
|
9 |
| import java.io.IOException; |
|
10 |
| |
|
11 |
| import junit.framework.TestCase; |
|
12 |
| |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
| |
|
18 |
| |
|
19 |
| public class ResourceLocatorTest extends TestCase { |
|
20 |
| |
|
21 |
| |
|
22 |
| |
|
23 |
| |
|
24 |
| |
|
25 |
8
| public ResourceLocatorTest(String arg0) {
|
|
26 |
8
| super(arg0);
|
|
27 |
| } |
|
28 |
| |
|
29 |
0
| public static void main(String[] args) {
|
|
30 |
0
| junit.textui.TestRunner.run(ResourceLocatorTest.class);
|
|
31 |
| } |
|
32 |
| |
|
33 |
| |
|
34 |
| |
|
35 |
| |
|
36 |
1
| public void testResourceLocator() throws IOException {
|
|
37 |
1
| ResourceLocator locator = new ResourceLocator("config.xml");
|
|
38 |
1
| assertNotNull(locator);
|
|
39 |
1
| assertEquals("config.xml",locator.getName());
|
|
40 |
| } |
|
41 |
| |
|
42 |
| |
|
43 |
| |
|
44 |
| |
|
45 |
1
| public void testResourceLocatorString() {
|
|
46 |
| } |
|
47 |
| |
|
48 |
1
| public void testFindResource() {
|
|
49 |
| } |
|
50 |
| |
|
51 |
1
| public void testGetName() {
|
|
52 |
| } |
|
53 |
| |
|
54 |
1
| public void testGetInputStream() {
|
|
55 |
| } |
|
56 |
| |
|
57 |
1
| public void testLastModified() {
|
|
58 |
| } |
|
59 |
| |
|
60 |
1
| public void testGetDirectory() {
|
|
61 |
| } |
|
62 |
| |
|
63 |
| |
|
64 |
| |
|
65 |
| |
|
66 |
1
| public void testToString() {
|
|
67 |
| } |
|
68 |
| |
|
69 |
| } |