|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.commons.betwixt.xmlunit.XmlTestCase org.apache.commons.betwixt.dotbetwixt.TestBeanToXml
public class TestBeanToXml
Provides xml test utilities. Hopefully, these might be moved into [xmlunit] sometime.
Field Summary |
---|
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase |
---|
debug |
Constructor Summary | |
---|---|
TestBeanToXml(java.lang.String testName)
|
Method Summary | |
---|---|
static junit.framework.Test |
suite()
|
void |
testBadDotBetwixtNames()
This tests that only well formed names for elements and attributes are allowed by .betwixt files |
void |
testBasicInterfaceImpl()
Tests basic use of an implementation for an interface |
void |
testMixedContent()
Test output of bean with mixed content |
void |
testOne()
|
void |
testSimpleBean()
|
void |
testSimpleMixedContent()
Test output of bean with mixed content |
void |
testWriteRecursiveBean()
|
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 |
---|
public TestBeanToXml(java.lang.String testName)
Method Detail |
---|
public static junit.framework.Test suite()
public void testOne() throws java.lang.Exception
java.lang.Exception
public void testSimpleBean() throws java.lang.Exception
java.lang.Exception
public void testWriteRecursiveBean() throws java.lang.Exception
java.lang.Exception
public void testBadDotBetwixtNames() throws java.lang.Exception
java.lang.Exception
public void testMixedContent() throws java.lang.Exception
java.lang.Exception
public void testSimpleMixedContent() throws java.lang.Exception
java.lang.Exception
public void testBasicInterfaceImpl() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |