tests
Class FacetsTest

java.lang.Object
  extended by org.junit.Assert
      extended by tests.FacetsTest

public class FacetsTest
extends org.junit.Assert


Constructor Summary
FacetsTest()
           
 
Method Summary
 void testBuiltinFacets()
          This method verifies the XML Schema's built-in types have their facets defined correctly.
 void testEnumerationFacet()
          This method will test the enumeration facet.
 void testFractionDigitsFacet()
          This will test the fractionDigits facet.
 void testLengthFacet()
          This method will test for the length facet.
 void testMinMaxExlusiveFacets()
          This method will test the Min and Max Exclusive facets.
 void testMinMaxInclusiveFacets()
          This method will test the Min and Max Inclusive facets.
 void testMinMaxLengthFacets()
          This method will test the Min and Max Length facets.
 void testPatternFacet()
          This method will test for the pattern facet.
 void testTotalDigitsFacet()
          This method will test the total digits facet.
 void testWhiteSpaceFacet()
          This will test the whiteSpace facet.
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetsTest

public FacetsTest()
Method Detail

testLengthFacet

public void testLengthFacet()
                     throws Exception
This method will test for the length facet.

Throws:
Exception - Any exception encountered

testPatternFacet

public void testPatternFacet()
                      throws Exception
This method will test for the pattern facet.

Throws:
Exception - Any Exception encountered

testTotalDigitsFacet

public void testTotalDigitsFacet()
                          throws Exception
This method will test the total digits facet.

Throws:
Exception - Any exception encountered

testMinMaxInclusiveFacets

public void testMinMaxInclusiveFacets()
                               throws Exception
This method will test the Min and Max Inclusive facets.

Throws:
Exception - Any Exception encountered

testMinMaxExlusiveFacets

public void testMinMaxExlusiveFacets()
                              throws Exception
This method will test the Min and Max Exclusive facets.

Throws:
Exception - Any Exception encountered

testWhiteSpaceFacet

public void testWhiteSpaceFacet()
                         throws Exception
This will test the whiteSpace facet.

Throws:
Exception - Any Exception encountered

testFractionDigitsFacet

public void testFractionDigitsFacet()
                             throws Exception
This will test the fractionDigits facet.

Throws:
Exception - Any Exception encountered

testMinMaxLengthFacets

public void testMinMaxLengthFacets()
                            throws Exception
This method will test the Min and Max Length facets.

Throws:
Exception - Any Exception encountered

testEnumerationFacet

public void testEnumerationFacet()
                          throws Exception
This method will test the enumeration facet.

Throws:
Exception - Any Exception encountered

testBuiltinFacets

public void testBuiltinFacets()
This method verifies the XML Schema's built-in types have their facets defined correctly.



Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.