KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > xmlpull > v1 > tests > TestXmlTypical


1 /* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
2 // for license see accompanying LICENSE_TESTS.txt file (available also at http://www.xmlpull.org)
3

4 package org.xmlpull.v1.tests;
5
6 import java.io.*;
7
8 import junit.framework.TestCase;
9 import junit.framework.TestSuite;
10
11 import org.xmlpull.v1.XmlPullParserException;
12
13 public class TestXmlTypical extends XmlTestCase {
14
15     public static void main (String JavaDoc[] args) {
16         junit.textui.TestRunner.run (new TestSuite(TestXmlTypical.class));
17     }
18
19     public TestXmlTypical(String JavaDoc name) {
20     super(name);
21     }
22
23     public void testTypical()
24     throws IOException, XmlPullParserException
25     {
26     testXml("typical.xml");
27     }
28
29 }
30
31
Popular Tags