org.apache.commons.betwixt.io
Class TestSAXBeanWriter

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

public class TestSAXBeanWriter
extends AbstractTestCase

Test harness for SAXBeanWriter.

Version:
$Id: TestSAXBeanWriter.java 438373 2006-08-30 05:17:21Z bayard $
Author:
Harald Dietrich, Martin van den Bemt

Field Summary
static java.lang.String XML
           
 
Fields inherited from class org.apache.commons.betwixt.AbstractTestCase
basedir
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
TestSAXBeanWriter(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testDocumentElements()
           
 void testLocalNames()
          This tests whether local names and qNames match
 void testWrite()
           
 
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
 

Field Detail

XML

public static final java.lang.String XML
See Also:
Constant Field Values
Constructor Detail

TestSAXBeanWriter

public TestSAXBeanWriter(java.lang.String name)
Method Detail

testWrite

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

testDocumentElements

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

testLocalNames

public void testLocalNames()
                    throws java.lang.Exception
This tests whether local names and qNames match

Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)


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