1 2 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.*; 12 13 public class TestXmlSimple extends XmlTestCase { 14 15 public static void main (String [] args) { 16 junit.textui.TestRunner.run (new TestSuite(TestXmlSimple.class)); 17 } 18 19 public TestXmlSimple(String name) { 20 super(name); 21 } 22 23 public void testSimple() 24 throws IOException, XmlPullParserException 25 { 26 testXml("simple.xml"); 27 } 28 29 public void testSimple2() 30 throws IOException, XmlPullParserException 31 { 32 testXml("simple2.xml"); 33 } 34 } 35 36 | Popular Tags |