Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.unittest
Class TestXmlFixerReader  view TestXmlFixerReader download TestXmlFixerReader.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.sun.syndication.unittest.TestXmlFixerReader
All Implemented Interfaces:
junit.framework.Test

public class TestXmlFixerReader
extends junit.framework.TestCase


Field Summary
private static java.lang.String XML_PROLOG
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestXmlFixerReader()
           
 
Method Summary
protected  void _testInvalidEntities(java.lang.String xmlDoc)
           
protected  void _testInvalidTrim(java.lang.String garbish, java.lang.String xmlDoc)
           
protected  void _testValidEntities(java.lang.String xmlDoc)
           
protected  void _testValidTrim(java.lang.String garbish, java.lang.String xmlDoc)
           
protected  void _testXmlParse(java.lang.String garbish, java.lang.String xmlDoc)
           
protected  java.io.InputStream getStream(java.lang.String garbish, java.lang.String xmlDoc)
           
 void testHtmlEntities()
           
 void testTrim()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_PROLOG

private static final java.lang.String XML_PROLOG
See Also:
Constant Field Values
Constructor Detail

TestXmlFixerReader

public TestXmlFixerReader()
Method Detail

testTrim

public void testTrim()
              throws java.lang.Exception

testHtmlEntities

public void testHtmlEntities()
                      throws java.lang.Exception

_testXmlParse

protected void _testXmlParse(java.lang.String garbish,
                             java.lang.String xmlDoc)
                      throws java.lang.Exception

_testValidTrim

protected void _testValidTrim(java.lang.String garbish,
                              java.lang.String xmlDoc)
                       throws java.lang.Exception

_testInvalidTrim

protected void _testInvalidTrim(java.lang.String garbish,
                                java.lang.String xmlDoc)
                         throws java.lang.Exception

_testValidEntities

protected void _testValidEntities(java.lang.String xmlDoc)
                           throws java.lang.Exception

_testInvalidEntities

protected void _testInvalidEntities(java.lang.String xmlDoc)
                             throws java.lang.Exception

getStream

protected java.io.InputStream getStream(java.lang.String garbish,
                                        java.lang.String xmlDoc)
                                 throws java.io.IOException