junit.framework.Test
public class MarshallingFrameworkTestCase extends XMLTestCase
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
_hasRandom |
If true, the randomize() function has been implemented in the root class.
|
protected MarshallingTest |
_marshallingConf |
Contains the configuration for this test case.
|
_configuration, _failure, _hasDump, _listener, _listenerGoldFile, _listenerType, _mapping, _name, _outputRootFile, _printStack, _rootClass, _rootClassName, _skip, _suiteName, _test, _unitTest, _verbose
Constructor | Description |
---|---|
MarshallingFrameworkTestCase(java.lang.String name) |
Create a new MarshallingFrameworkTestCase with the given name and a null
marshalling configuration.
|
MarshallingFrameworkTestCase(CastorTestCase test,
UnitTestCase unit,
MarshallingTest marshalling) |
Creates a CTF test case for the Marshalling framework.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
setUp() |
Sets up this test suite.
|
junit.framework.Test |
suite() |
Returns the test suite for this given test setup.
|
protected void |
tearDown() |
Clean up after a test -- nothing to do except display output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
buildObjectModel, checkExceptionWasExpected, cleanup, getTestSuiteName, getXMLContext, initializeListeners, invokeEnumeratedMethods, setTestSuiteName, setXMLContext, testMarshal, testUnmarshal, testUnmarshal, verbose
protected final MarshallingTest _marshallingConf
protected final boolean _hasRandom
public MarshallingFrameworkTestCase(CastorTestCase test, UnitTestCase unit, MarshallingTest marshalling)
test
- A Test Caseunit
- A configuration element for a test case from a TestDescriptor
configuration filemarshalling
- a Marshalling test definition from a TestDescriptor
configuration filepublic MarshallingFrameworkTestCase(java.lang.String name)
name
- Name for the MarshallingFrameworkTestCasepublic junit.framework.Test suite()
protected void setUp() throws java.lang.Exception
Nothing in this setUp() method should ever be expected to fail. Thus, there are no checks against _failure. If anything goes wrong here, there is a problem with the individual test case configuration.
setUp
in class XMLTestCase
java.lang.Exception
- if anything goes wrongprotected void tearDown() throws java.lang.Exception
tearDown
in class XMLTestCase
java.lang.Exception
- if anything goes wrongIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com