junit.framework.Testpublic class SourceGeneratorTestCase extends XMLTestCase
| Modifier and Type | Field | Description | 
|---|---|---|
protected boolean | 
_hasRandom | 
 If true, the randomize() function has been implemented in the root class. 
 | 
protected SourceGeneratorTest | 
_sourceGenConf | 
 Contains the information for the configuration for all the tests in this jar. 
 | 
_configuration, _failure, _hasDump, _listener, _listenerGoldFile, _listenerType, _mapping, _name, _outputRootFile, _printStack, _rootClass, _rootClassName, _skip, _suiteName, _test, _unitTest, _verbose| Constructor | Description | 
|---|---|
SourceGeneratorTestCase(java.lang.String name) | 
 Create a new SourceGeneratorTestCase with the given name. 
 | 
SourceGeneratorTestCase(CastorTestCase test,
                       UnitTestCase unit,
                       SourceGeneratorTest sourceGen) | 
 Creates a new test case for the given setup. 
 | 
| 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() | 
 Cleans up after this unit test (nothing to do except provide output). 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassertEquals, 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, toStringbuildObjectModel, checkExceptionWasExpected, cleanup, getTestSuiteName, getXMLContext, initializeListeners, invokeEnumeratedMethods, setTestSuiteName, setXMLContext, testMarshal, testUnmarshal, testUnmarshal, verboseprotected final SourceGeneratorTest _sourceGenConf
protected final boolean _hasRandom
public SourceGeneratorTestCase(CastorTestCase test, UnitTestCase unit, SourceGeneratorTest sourceGen)
test - the reference to the jar/directoryunit - the UnitTestCase that wraps the configuration for this XML
            Test case.sourceGen - the Source Generator test to be executedpublic SourceGeneratorTestCase(java.lang.String name)
name - name for the test casepublic junit.framework.Test suite()
protected void setUp()
              throws java.lang.Exception
setUp in class XMLTestCasejava.lang.Exception - if anything goes wrongprotected void tearDown()
                 throws java.lang.Exception
tearDown in class XMLTestCasejava.lang.Exception - neverIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com