junit.framework.Test
class TestWithRandomObject
extends junit.framework.TestCase
The test follows this sequence:
Modifier and Type | Field | Description |
---|---|---|
protected FailureType |
_failure |
The failure object that is not null is the test intends to fail.
|
protected java.lang.String |
_outputName |
File name of our marshaled output.
|
Constructor | Description |
---|---|
TestWithRandomObject(java.lang.String name) |
Blank constructor for this test case.
|
TestWithRandomObject(java.lang.String name,
XMLTestCase tc) |
Constructs a test case that when invoked will delegate to the provided
test case.
|
Modifier and Type | Method | Description |
---|---|---|
void |
runTest() |
Runs our test case using our delegate object where necessary.
|
protected void |
setUp() |
Provides setup for our delegated test case, depending on the type of
test case we are delegating for.
|
protected void |
tearDown() |
Provides tear down for our delegated test case, depending on the type of
test case we are delegating for.
|
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
protected final FailureType _failure
protected final java.lang.String _outputName
TestWithRandomObject(java.lang.String name)
name
- Name of our delegate test caseTestWithRandomObject(java.lang.String name, XMLTestCase tc)
name
- Name of our delegate test casetc
- protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
- if anything goes wrong during setupprotected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
- if anything goes wrong during teardownpublic void runTest() throws java.lang.Exception
runTest
in class junit.framework.TestCase
java.lang.Exception
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com