KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > xml > querying > impl > xtas > TestConfig


1 package org.exoplatform.services.xml.querying.impl.xtas;
2
3 import junit.framework.TestCase;
4 import junit.framework.Test;
5 import junit.framework.TestSuite;
6
7 import java.io.*;
8 import org.exoplatform.services.xml.querying.impl.xtas.XMLConfig;
9 import org.xml.sax.InputSource JavaDoc;
10 //import org.exoplatform.services.xml.querying.impl.xtas.XMLConfig;
11

12 public class TestConfig extends TestCase
13 {
14
15     public TestConfig(String JavaDoc name)
16     {
17         super(name);
18     }
19     public static Test suite()
20     {
21         return new TestSuite(TestConfig.class);
22     }
23
24     public void testXmlConfig()
25     {
26
27
28        try {
29
30            XMLConfig conf = XMLConfig.getInstance();
31 // System.out.println(conf.getResources().iterator().next().toString());
32

33
34         } catch ( Exception JavaDoc e) {
35             fail( "testXmlConfig() ERROR: "+e.toString());
36         }
37
38     }
39
40
41 }
42
Popular Tags