|
||||||||||
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.scarab.TestScarabSettings
public class TestScarabSettings
Test harness which round trips a Scarab's settings xml file
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 | |
---|---|
TestScarabSettings(java.lang.String testName)
Constructor for the TestScarabSettings object |
Method Summary | |
---|---|
protected org.apache.commons.betwixt.io.BeanReader |
createBeanReader()
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. |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
A unit test suite for JUnit |
void |
testRoundTrip()
Tests we can round trip from the XML -> bean -> XML -> bean. |
protected void |
testScarabSettings(ScarabSettings ss)
Tests the value of the Project object that has just been parsed |
protected void |
write(java.lang.Object bean,
java.io.Writer out)
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 |
---|
public TestScarabSettings(java.lang.String testName)
testName
- Method Detail |
---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void testRoundTrip() throws java.lang.Exception
java.lang.Exception
protected org.apache.commons.betwixt.io.BeanReader createBeanReader() throws java.lang.Exception
java.lang.Exception
protected org.apache.commons.betwixt.XMLIntrospector createXMLIntrospector()
protected void testScarabSettings(ScarabSettings ss) throws java.lang.Exception
java.lang.Exception
protected void write(java.lang.Object bean, java.io.Writer out) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |