org.apache.commons.betwixt.dotbetwixt
Class TestXmlToBean

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.dotbetwixt.TestXmlToBean
All Implemented Interfaces:
junit.framework.Test

public class TestXmlToBean
extends XmlTestCase

Test customization of xml to bean mapping using .betwixt files.

Author:
Robert Burrell Donkin

Field Summary
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
TestXmlToBean(java.lang.String testName)
           
 
Method Summary
 void _testBasicInterfaceImpl()
          Tests basic use of an implementation for an interface
static junit.framework.Test suite()
           
 void testCustomUpdaters()
           
 void testForceAccessibleSuper()
           
 void testMixedContent()
          Test output of bean with mixed content
 
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

TestXmlToBean

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

suite

public static junit.framework.Test suite()

testForceAccessibleSuper

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

testCustomUpdaters

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

testMixedContent

public void testMixedContent()
                      throws java.lang.Exception
Test output of bean with mixed content

Throws:
java.lang.Exception

_testBasicInterfaceImpl

public void _testBasicInterfaceImpl()
                             throws java.lang.Exception
Tests basic use of an implementation for an interface

Throws:
java.lang.Exception


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