|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jcoderz.commons.types.samples.TestEnumTest
public class TestEnumTest
Test generated enum type
| Constructor Summary | |
|---|---|
TestEnumTest()
|
|
| Method Summary | |
|---|---|
void |
testFromInt()
Test the fromInt method. |
void |
testFromIntThrowsRuntimeException()
Test failure of fromInt method. |
void |
testFromStringThrowsRuntimeException()
Test failure of fromString method. |
void |
testToInt()
Test the toInt method. |
void |
testToString()
Test the toString method. |
void |
testValueMap()
Test the fromInt method. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestEnumTest()
| Method Detail |
|---|
public void testFromInt()
throws Throwable
Throwable - in case of any error.
public void testToInt()
throws Throwable
Throwable - in case of any error.
public void testToString()
throws Throwable
Throwable - in case of any error.
public void testFromIntThrowsRuntimeException()
throws Throwable
Throwable - in case of any error.
public void testFromStringThrowsRuntimeException()
throws Throwable
Throwable - in case of any error.
public void testValueMap()
throws Throwable
Throwable - in case of any error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||