|
||||||||||
| 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.InterfaceTestCase<T>
T - The type of the interface being tested.public abstract class InterfaceTestCase<T>
Base test class for all JUnit test cases testing interfaces to inherit from.
| Field Summary |
|---|
| Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
DELIBERATE_PASS, testedClass, TMP |
| Constructor Summary | |
|---|---|
InterfaceTestCase()
|
|
| Method Summary | |
|---|---|
void |
testAllMethodsBeingTested()
Test that all of the methods in the tested class have at least some testing methods for them. |
void |
testIsActuallyAnInterface()
Ensure that it's actually an interface. |
| Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
getTestedClass, setUp, 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 InterfaceTestCase()
| Method Detail |
|---|
public void testIsActuallyAnInterface()
public void testAllMethodsBeingTested()
testAllMethodsBeingTested in class ExemplarTestCase<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||