|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ccl.util.Test | +--junit.framework.test.TestCaseTest
Tests the redirecting of test code written for the JUnit test framework to the ccl.util.Test class.
Constructor Summary | |
TestCaseTest()
Default constructor has to be present for ccl test to work. |
|
TestCaseTest(Test pTest_)
Standard constructor has to be present for ccl test to work. |
Method Summary | |
protected void |
_doIt()
Work routine that invokes all test methods. |
static boolean |
containsMethod(java.util.Vector vMethods,
java.lang.String sMethodName)
Checks if a vector of method objects contains a method with a certain name. |
static int |
indexOfMethod(java.util.Vector vMethods,
java.lang.String sMethodName)
Returns the index of a method with a given name. |
static void |
main(java.lang.String[] asArg_)
Main method if you want to execute just this test class alone. |
void |
testAssert()
Checks if the assert method really counts the test. |
int |
testDummy2()
This is just a dummy method needed for a self test. |
void |
testDummy3(int i)
This is just a dummy method needed for a self test. |
void |
testGetMethods()
Tests the TestCase.getMethods method. |
void |
testGetTestMethods()
Tests the TestCase.getTestMethods method. |
void |
testInvokeMe()
This method does not contain a test but should be invoked by the test case class. |
void |
testInvokeTestMethod()
Checks if the test case is able to invoke a test method. |
Methods inherited from class ccl.util.Test |
_enterSubTest, _exitSubTest, _getValue, _increment, _setTests, _showLiveSignals, assert, Assert, assert, Assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertTrue, assertTrue, assertTrue, bug, bugIf, bugIf, bugIf, fail, fail, getBugs, getComment, getGlobalTests, getLocalTests, getName, getTestClassDirectory, getTestDirectory, getTestName, getTestName, getValue, initialize, isTest, isTiming, isVerbose, printResult, printResult, redirectStandardStreams, run, setBug, setParentTest, setTests, setTiming, setValue, setVerbose, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestCaseTest()
public TestCaseTest(Test pTest_)
Method Detail |
public void testGetMethods()
public void testGetTestMethods()
public void testInvokeTestMethod() throws java.lang.Exception
java.lang.Exception
public int testDummy2()
public void testDummy3(int i)
public void testInvokeMe()
public void testAssert()
protected void _doIt() throws java.lang.Exception
_doIt
in class Test
java.lang.Exception
- if anything goes wrong the test fails as well.public static void main(java.lang.String[] asArg_)
public static int indexOfMethod(java.util.Vector vMethods, java.lang.String sMethodName)
public static boolean containsMethod(java.util.Vector vMethods, java.lang.String sMethodName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |