org.jcoderz.commons.util
Class XsdUtilTest

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

public class XsdUtilTest
extends TestCase

Tests the XsdUtil class.

Author:
Andreas Mandel

Constructor Summary
XsdUtilTest()
           
 
Method Summary
 void testIntegerFromStringBad()
          Tests the integerFromString() method.
 void testIntegerFromStringGood()
          Tests the integerFromString() method.
 void testIntFromStringBad()
          Tests the intFromString() method.
 void testIntFromStringGood()
          Tests the intFromString() method.
 void testIsValidSchemaToken()
          Special test with no xs:token violations.
 void testIsValidSchemaTokenFalse()
          Special test with xs:token violations.
 void testLongFromString()
          Tests the longFromString() method.
 void testLongFromStringBad()
          Tests the longFromString() 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

XsdUtilTest

public XsdUtilTest()
Method Detail

testIntegerFromStringGood

public final void testIntegerFromStringGood()
Tests the integerFromString() method.


testIntegerFromStringBad

public final void testIntegerFromStringBad()
Tests the integerFromString() method.


testIntFromStringGood

public final void testIntFromStringGood()
Tests the intFromString() method.


testIntFromStringBad

public final void testIntFromStringBad()
Tests the intFromString() method.


testLongFromString

public final void testLongFromString()
Tests the longFromString() method.


testLongFromStringBad

public final void testLongFromStringBad()
Tests the longFromString() method.


testIsValidSchemaToken

public void testIsValidSchemaToken()
Special test with no xs:token violations.


testIsValidSchemaTokenFalse

public void testIsValidSchemaTokenFalse()
Special test with xs:token violations.



Copyright 2007 The jCoderZ Project.