KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > loader > XDocletXmlParserTest


1 /*
2  * Copyright (c) 2001, 2002 The XDoclet team
3  * All rights reserved.
4  */

5 package xdoclet.loader;
6
7 import java.io.FileInputStream JavaDoc;
8 import org.xml.sax.InputSource JavaDoc;
9
10 import junit.framework.TestCase;
11
12 /**
13  * @author <a HREF="mailto:aslak.nospam@users.sf.net">Aslak Hellesøy</a>
14  * @created 4 mei 2002
15  * @version $Revision: 1.5 $
16  */

17 public class XDocletXmlParserTest extends TestCase
18 {
19     public XDocletXmlParserTest(String JavaDoc name)
20     {
21         super(name);
22     }
23
24     public void testParse() throws Exception JavaDoc
25     {
26         FileInputStream JavaDoc wls = new FileInputStream JavaDoc("test/src/xdoclet-xmlparsertest.xml");
27         XDocletXmlParser parser = new XDocletXmlParser();
28         XDocletModule wlsModule = parser.parse(new InputSource JavaDoc(wls));
29     }
30 }
31
Popular Tags