|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--ccl.util.Test
|
+--junit.framework.TestCase
|
+--junit.framework.test.AssertTestCase
This class supports one of the tests from the TestCaseTest class.
| Constructor Summary | |
AssertTestCase()
Default constructor. |
|
AssertTestCase(java.lang.String name)
Default constructor expected by TestCase base class. |
|
| Method Summary | |
protected void |
_enterSubTest(java.lang.String name)
This method is part of the ccl.util.Test class interface. |
protected void |
_exitSubTest()
This method is part of the ccl.util.Test class interface. |
void |
assert(boolean condition)
Deprecated. don't use this anymore, use standard JUnit API. |
void |
assert(boolean condition,
java.lang.String message)
Deprecated. don't use this anymore, use standard JUnit API. |
void |
testExample()
Test method that has to be invoked during one of the tests. |
| Methods inherited from class junit.framework.TestCase |
_doIt, assert, enterSubTest, exitSubTest, getMethods, getTestMethods, invokeTestMethod, invokeTestMethod |
| Methods inherited from class ccl.util.Test |
_getValue, _increment, _setTests, _showLiveSignals, 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 AssertTestCase()
public AssertTestCase(java.lang.String name)
| Method Detail |
public void testExample()
protected void _enterSubTest(java.lang.String name)
_enterSubTest in class Testname - e.g. "jacob".protected void _exitSubTest()
_exitSubTest in class Test
public void assert(boolean condition,
java.lang.String message)
assert in class Testmessage - The message gets printed when the
assertion fails.public void assert(boolean condition)
assert in class Test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||