org.jcoderz.commons.types
Class StrongTypesTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.types.StrongTypesTest
All Implemented Interfaces:
Test

public class StrongTypesTest
extends TestCase

Test the generated Strong Types.

Author:
Andreas Mandel

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

StrongTypesTest

public StrongTypesTest()
Method Detail

testToLong

public void testToLong()
Testing the max length restriction in generated String types.


testToShort

public void testToShort()
Testing the min length restriction in generated String types.


testToHigh

public void testToHigh()
Testing the max value restriction in generated Long types.


testToLow

public void testToLow()
Testing the min value restriction in generated Long types.


testComparison

public void testComparison()
Test method for comparison.


testImplementsTaggedColor

public void testImplementsTaggedColor()
Test for enumeration implements tag.


testImplementsTaggedFooString

public void testImplementsTaggedFooString()
Test for restricted string implements tag.


testImplementsTaggedValueObject

public void testImplementsTaggedValueObject()
Test for value objects implements tag.



Copyright 2007 The jCoderZ Project.