|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
junit.com.mcdermottroe.exemplar.ExemplarTestCase<T>
junit.com.mcdermottroe.exemplar.UtilityClassTestCase<DBC>
junit.com.mcdermottroe.exemplar.DBCTest
public class DBCTest
Test class for the DBC class.
| Field Summary |
|---|
| Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
DELIBERATE_PASS, testedClass, TMP |
| Constructor Summary | |
|---|---|
DBCTest()
|
|
| Method Summary | |
|---|---|
void |
testASSERTFalse()
Test that ASSERT(false) works correctly. |
void |
testASSERTTrue()
Test that ASSERT(true) works correctly. |
void |
testENSUREFalse()
Test that ENSURE(false) works correctly. |
void |
testENSURETrue()
Test that ENSURE(true) works correctly. |
void |
testIGNORED_EXCEPTION()
Test DBC.IGNORED_EXCEPTION(Throwable). |
void |
testREQUIREFalse()
Test that REQUIRE(false) works correctly. |
void |
testREQUIRETrue()
Test that REQUIRE(true) works correctly. |
void |
testUNREACHABLE_CODE()
Test DBC.UNREACHABLE_CODE(). |
| Methods inherited from class junit.com.mcdermottroe.exemplar.UtilityClassTestCase |
|---|
testAllFieldsStatic, testAllMethodsStatic, testOnePrivateConstructor |
| Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
getTestedClass, setUp, testAllMethodsBeingTested, testCorrectPackage |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBCTest()
| Method Detail |
|---|
public void testASSERTTrue()
DBC.ASSERT(boolean)public void testASSERTFalse()
DBC.ASSERT(boolean)public void testREQUIRETrue()
DBC.REQUIRE(boolean)public void testREQUIREFalse()
DBC.REQUIRE(boolean)public void testENSURETrue()
DBC.ENSURE(boolean)public void testENSUREFalse()
DBC.ENSURE(boolean)public void testUNREACHABLE_CODE()
DBC.UNREACHABLE_CODE().
public void testIGNORED_EXCEPTION()
DBC.IGNORED_EXCEPTION(Throwable).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||