KickJava   Java API By Example, From Geeks To Geeks.

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


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.IOException JavaDoc;
7 import junit.framework.TestSuite;
8 import org.xmlpull.v1.XmlPullParserException;
9
10 public class TestXmlCdsect extends XmlTestCase {
11
12     public static void main (String JavaDoc[] args) {
13         junit.textui.TestRunner.run (new TestSuite(TestXmlCdsect.class));
14     }
15
16     public TestXmlCdsect(String JavaDoc name) {
17         super(name);
18     }
19
20     public void testCdsect()
21         throws IOException JavaDoc, XmlPullParserException
22     {
23         testXml("cdsect.xml");
24     }
25
26
27     public void testCdsectEol()
28         throws IOException JavaDoc, XmlPullParserException
29     {
30         testXml("cdsect_eol.xml");
31     }
32
33     public void testCdsectMixed()
34         throws IOException JavaDoc, XmlPullParserException
35     {
36         testXml("cdsect_mixed.xml");
37     }
38
39     public void testCdsectMore()
40         throws IOException JavaDoc, XmlPullParserException
41     {
42         testXml("cdsect_more.xml");
43     }
44
45 }
46
47
Popular Tags