|
||||||||||
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.AbstractTestCase org.apache.commons.betwixt.TestBeanWriter
public class TestBeanWriter
Test harness for the BeanWriter
Nested Class Summary | |
---|---|
static class |
TestBeanWriter.BeanWithAddMethod
|
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 | |
---|---|
TestBeanWriter(java.lang.String testName)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testArrayWrite()
|
void |
testBeanWriter()
|
void |
testBeanWriterWorksWithAnAddMethodAndACollection()
|
void |
testEscaping()
|
void |
testListedWriteEmptyElements()
Test nested case for writing empty elements |
void |
testLooping()
|
void |
testSimpleWriteEmptyElements()
Test simplest case for writing empty elements |
void |
testValidEndOfLine()
Testing valid endofline characters. |
void |
testWriteNameMapperStrategy()
|
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 |
---|
public TestBeanWriter(java.lang.String testName)
Method Detail |
---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void testBeanWriter() throws java.lang.Exception
java.lang.Exception
public void testLooping() throws java.lang.Exception
java.lang.Exception
public void testEscaping() throws java.lang.Exception
java.lang.Exception
public void testValidEndOfLine() throws java.lang.Exception
java.lang.Exception
public void testSimpleWriteEmptyElements() throws java.lang.Exception
java.lang.Exception
public void testArrayWrite() throws java.lang.Exception
java.lang.Exception
public void testListedWriteEmptyElements() throws java.lang.Exception
java.lang.Exception
public void testWriteNameMapperStrategy() throws java.lang.Exception
java.lang.Exception
public void testBeanWriterWorksWithAnAddMethodAndACollection() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |