org.apache.commons.betwixt.nowrap
Class TestNoWrap

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

public class TestNoWrap
extends AbstractTestCase

Test harness for the base PO object

Version:
$Id: TestNoWrap.java 438373 2006-08-30 05:17:21Z bayard $
Author:
John Thorhauer

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
TestNoWrap(java.lang.String testName)
          Constructor for the TestScarabSettings object
 
Method Summary
protected  org.apache.commons.betwixt.io.BeanReader createBeanReader(java.lang.Class beanClass)
          Description of the Method
protected  org.apache.commons.betwixt.XMLIntrospector createXMLIntrospector()
          ### it would be really nice to move this somewhere shareable across Maven / Turbine projects.
 void load()
          Description of the Method
static junit.framework.Test suite()
          A unit test suite for JUnit
 void testRoundTrip()
          Description of the Method
 void write()
          Description of the Method
 
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

TestNoWrap

public TestNoWrap(java.lang.String testName)
Constructor for the TestScarabSettings object

Parameters:
testName -
Method Detail

suite

public static junit.framework.Test suite()
A unit test suite for JUnit


testRoundTrip

public void testRoundTrip()
                   throws java.lang.Exception
Description of the Method

Throws:
java.lang.Exception

load

public void load()
          throws java.lang.Exception
Description of the Method

Throws:
java.lang.Exception

write

public void write()
           throws java.lang.Exception
Description of the Method

Throws:
java.lang.Exception

createBeanReader

protected org.apache.commons.betwixt.io.BeanReader createBeanReader(java.lang.Class beanClass)
                                                             throws java.lang.Exception
Description of the Method

Throws:
java.lang.Exception

createXMLIntrospector

protected org.apache.commons.betwixt.XMLIntrospector createXMLIntrospector()
### it would be really nice to move this somewhere shareable across Maven / Turbine projects. Maybe a static helper method - question is what to call it???



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