|
||||||||||
| 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.StrongTypesTest
public class StrongTypesTest
Test the generated Strong Types.
| Constructor Summary | |
|---|---|
StrongTypesTest()
|
|
| Method Summary | |
|---|---|
void |
testComparison()
Test method for comparison. |
void |
testImplementsTaggedColor()
Test for enumeration implements tag. |
void |
testImplementsTaggedFooString()
Test for restricted string implements tag. |
void |
testImplementsTaggedValueObject()
Test for value objects implements tag. |
void |
testToHigh()
Testing the max value restriction in generated Long types. |
void |
testToLong()
Testing the max length restriction in generated String types. |
void |
testToLow()
Testing the min value restriction in generated Long types. |
void |
testToShort()
Testing the min length restriction in generated String types. |
| 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 StrongTypesTest()
| Method Detail |
|---|
public void testToLong()
public void testToShort()
public void testToHigh()
public void testToLow()
public void testComparison()
public void testImplementsTaggedColor()
public void testImplementsTaggedFooString()
public void testImplementsTaggedValueObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||