junit.framework.Test
public class TestSourceGenerator extends XMLTestCase
_configuration, _failure, _hasDump, _listener, _listenerGoldFile, _listenerType, _mapping, _name, _outputRootFile, _printStack, _rootClass, _rootClassName, _skip, _suiteName, _test, _unitTest, _verbose
Constructor | Description |
---|---|
TestSourceGenerator(CastorTestCase test,
UnitTestCase unit,
OnlySourceGenerationTest sourceGen) |
|
TestSourceGenerator(CastorTestCase test,
UnitTestCase unit,
SourceGeneratorTest sourceGen) |
Modifier and Type | Method | Description |
---|---|---|
void |
runTest() |
Runs our source generation test.
|
void |
setExpectedSources(java.util.List expectedSources) |
Sets a collection of expected source files.
|
protected void |
setUp() |
Sets up this test suite.
|
protected void |
tearDown() |
Cleans up after this unit test.
|
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, setName, toString
buildObjectModel, checkExceptionWasExpected, cleanup, getTestSuiteName, getXMLContext, initializeListeners, invokeEnumeratedMethods, setTestSuiteName, setXMLContext, testMarshal, testUnmarshal, testUnmarshal, verbose
public TestSourceGenerator(CastorTestCase test, UnitTestCase unit, OnlySourceGenerationTest sourceGen)
public TestSourceGenerator(CastorTestCase test, UnitTestCase unit, SourceGeneratorTest sourceGen)
protected void setUp() throws java.lang.Exception
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 wrongpublic void runTest()
runTest
in class junit.framework.TestCase
public void setExpectedSources(java.util.List expectedSources)
expectedSources
- A collection of expected source files.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com