org.apache.commons.betwixt.strategy
Class TestMixedContentEncoding

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.betwixt.xmlunit.XmlTestCase
              extended by org.apache.commons.betwixt.AbstractTestCase
                  extended by org.apache.commons.betwixt.strategy.TestMixedContentEncoding
All Implemented Interfaces:
junit.framework.Test

public class TestMixedContentEncoding
extends AbstractTestCase

Tests for mixed content encoding. Mixed content encoding is the process by which body content is written out (in an escaped form) into a textual output stream.

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Field Summary
 
Fields inherited from class org.apache.commons.betwixt.AbstractTestCase
basedir
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
TestMixedContentEncoding(java.lang.String testName)
           
 
Method Summary
 void testBaseMixedCDATAEncoding()
           
 void testBaseMixedEncode()
           
 void testBaseMixedEscapeCharacters()
           
 void testCDATAEncodedOutput()
           
 void testCDATAImplementation()
           
 void testDefaultImplementation()
           
 void testDefaultOutput()
           
 void testDefaultOutputWithCDATAOption()
          Unit test for default output when CDATA option is set
 void testDefaultOutputWithCharacterEscapingOption()
          Unit test for default output when character escaping option is set
 void testDefaultOutputWithDotBetwixtOptions()
           
 void testEscapedCharactersImplementation()
           
 void testEscapedOutput()
           
 
Methods inherited from class org.apache.commons.betwixt.AbstractTestCase
createBean, getTestFile, getTestFileURL
 
Methods inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
createDocumentBuilder, getDomFactory, isValid, parseFile, parseString, parseString, validateWithSchema, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsValid, xmlAssertIsValid
 
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
 

Constructor Detail

TestMixedContentEncoding

public TestMixedContentEncoding(java.lang.String testName)
Method Detail

testBaseMixedEscapeCharacters

public void testBaseMixedEscapeCharacters()

testBaseMixedCDATAEncoding

public void testBaseMixedCDATAEncoding()

testBaseMixedEncode

public void testBaseMixedEncode()

testDefaultImplementation

public void testDefaultImplementation()

testEscapedCharactersImplementation

public void testEscapedCharactersImplementation()

testCDATAImplementation

public void testCDATAImplementation()

testDefaultOutput

public void testDefaultOutput()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDefaultOutputWithCDATAOption

public void testDefaultOutputWithCDATAOption()
                                      throws java.lang.Exception
Unit test for default output when CDATA option is set

Throws:
java.lang.Exception

testDefaultOutputWithCharacterEscapingOption

public void testDefaultOutputWithCharacterEscapingOption()
                                                  throws java.lang.Exception
Unit test for default output when character escaping option is set

Throws:
java.lang.Exception

testDefaultOutputWithDotBetwixtOptions

public void testDefaultOutputWithDotBetwixtOptions()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testEscapedOutput

public void testEscapedOutput()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testCDATAEncodedOutput

public void testCDATAEncodedOutput()
                            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.