org.apache.ws.commons.schema.docpath
Class TestXmlSchemaElementValidator

java.lang.Object
  extended by org.apache.ws.commons.schema.docpath.TestXmlSchemaElementValidator

public class TestXmlSchemaElementValidator
extends Object


Constructor Summary
TestXmlSchemaElementValidator()
           
 
Method Summary
 void attributeHasComplexType()
           
 void oneUnsatisfiedRequiredAttr()
           
 void onlyOneAttrRequired()
           
 void optionalAttrsSetRequiredNot()
           
static void setUpXmlSchema()
           
 void testArrayLength()
           
 void testArrayLengthTooLong()
           
 void testArrayLengthTooShort()
           
 void testArrayTooLong()
           
 void testArrayTooShort()
           
 void testArrayWithInvalidContent()
           
 void testAttributesWithNoAttributes()
           
 void testAttributesWithNoNamespaceContext()
           
 void testAttributesWithNoState()
           
 void testAttributesWithNothing()
           
 void testContentNotAnElement()
           
 void testContentOfHighBorderExclusiveNumericRange()
           
 void testContentOfLowBorderExclusiveNumericRange()
           
 void testContentOfTooHighExclusiveNumericRange()
           
 void testContentOfTooHighInclusiveNumericRange()
           
 void testContentOfTooLowExclusiveNumericRange()
           
 void testContentOfTooLowInclusiveNumericRange()
           
 void testContentOfValidExclusiveNumericRange()
           
 void testContentOfValidInclusiveNumericRange()
           
 void testContentWithNoNamespaceContext()
           
 void testContentWithNoState()
           
 void testContentWithNothing()
           
 void testDecimalNoFacets()
           
 void testElementWithDefault()
           
 void testElementWithInvalidDefault()
           
 void testElementWithNoAttributes()
           
 void testEmptyNonMixedContentType()
           
 void testEmptyProhibitedAttribute()
           
 void testEmptyRequiredAttribute()
           
 void testFixedElement()
           
 void testFloatAndStringBasedRangeCheck()
           
 void testFractionDigitsFacet()
           
 void testInvalidBoolean()
           
 void testInvalidDate()
           
 void testInvalidDateTime()
           
 void testInvalidDay()
           
 void testInvalidDecimal()
           
 void testInvalidDouble()
           
 void testInvalidDuration()
           
 void testInvalidEnumerationFacet()
           
 void testInvalidFixedElement()
           
 void testInvalidFloat()
           
 void testInvalidHexadecimal()
           
 void testInvalidMonth()
           
 void testInvalidMonthDay()
           
 void testInvalidNoFractionDigitsFacet()
           
 void testInvalidNonMixedContentType()
           
 void testInvalidNotation()
           
 void testInvalidQName()
           
 void testInvalidRangeType()
           
 void testInvalidRangeValue()
           
 void testInvalidTime()
           
 void testInvalidUnion()
           
 void testInvalidUse()
           
 void testInvalidYear()
           
 void testInvalidYearMonth()
           
 void testMixedContentType()
           
 void testNillableElement()
           
 void testNonNillableNonDefaultNonFixedElement()
           
 void testNotAnElement()
           
 void testNullNonMixedContentType()
           
 void testOptionalAttribute()
           
 void testProhibitedAttribute()
           
 void testRequiredAttribute()
           
 void testSaxAttributes()
           
 void testStringTooLong()
           
 void testStringTooLongForRange()
           
 void testStringTooShort()
           
 void testStringToShortForRange()
           
 void testTooManyDigitsFacet()
           
 void testTooManyFractionDigitsFacet()
           
 void testTotalDigitsFacet()
           
 void testUnsatisfiedRequiredAttribute()
           
 void testValidArray()
           
 void testValidArrayInRange()
           
 void testValidBase64()
           
 void testValidBooleanFalse()
           
 void testValidBooleanTrue()
           
 void testValidDate()
           
 void testValidDateTime()
           
 void testValidDay()
           
 void testValidDecimalWithEmptyRangeFacets()
           
 void testValidDouble()
           
 void testValidDuration()
           
 void testValidEnumerationFacet()
           
 void testValidFloat()
           
 void testValidHexadecimal()
           
 void testValidMonth()
           
 void testValidMonthDay()
           
 void testValidNoFractionDigitsFacet()
           
 void testValidNotation()
           
 void testValidQName()
           
 void testValidStringLength()
           
 void testValidStringLengthRange()
           
 void testValidStringNoFacets()
           
 void testValidTime()
           
 void testValidUnion()
           
 void testValidYear()
           
 void testValidYearMonth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestXmlSchemaElementValidator

public TestXmlSchemaElementValidator()
Method Detail

testSaxAttributes

public void testSaxAttributes()

setUpXmlSchema

public static void setUpXmlSchema()

testAttributesWithNothing

public void testAttributesWithNothing()
                               throws Exception
Throws:
Exception

testAttributesWithNoState

public void testAttributesWithNoState()
                               throws Exception
Throws:
Exception

testAttributesWithNoAttributes

public void testAttributesWithNoAttributes()
                                    throws Exception
Throws:
Exception

testAttributesWithNoNamespaceContext

public void testAttributesWithNoNamespaceContext()
                                          throws Exception
Throws:
Exception

testElementWithNoAttributes

public void testElementWithNoAttributes()
                                 throws Exception
Throws:
Exception

testNotAnElement

public void testNotAnElement()
                      throws Exception
Throws:
Exception

testContentWithNothing

public void testContentWithNothing()
                            throws Exception
Throws:
Exception

testContentWithNoState

public void testContentWithNoState()
                            throws Exception
Throws:
Exception

testContentWithNoNamespaceContext

public void testContentWithNoNamespaceContext()
                                       throws Exception
Throws:
Exception

testContentNotAnElement

public void testContentNotAnElement()
                             throws Exception
Throws:
Exception

testInvalidUse

public void testInvalidUse()
                    throws Exception
Throws:
Exception

testProhibitedAttribute

public void testProhibitedAttribute()
                             throws Exception
Throws:
Exception

testEmptyProhibitedAttribute

public void testEmptyProhibitedAttribute()
                                  throws Exception
Throws:
Exception

testOptionalAttribute

public void testOptionalAttribute()
                           throws Exception
Throws:
Exception

testRequiredAttribute

public void testRequiredAttribute()
                           throws Exception
Throws:
Exception

testUnsatisfiedRequiredAttribute

public void testUnsatisfiedRequiredAttribute()
                                      throws Exception
Throws:
Exception

testEmptyRequiredAttribute

public void testEmptyRequiredAttribute()
                                throws Exception
Throws:
Exception

onlyOneAttrRequired

public void onlyOneAttrRequired()
                         throws Exception
Throws:
Exception

oneUnsatisfiedRequiredAttr

public void oneUnsatisfiedRequiredAttr()
                                throws Exception
Throws:
Exception

optionalAttrsSetRequiredNot

public void optionalAttrsSetRequiredNot()
                                 throws Exception
Throws:
Exception

attributeHasComplexType

public void attributeHasComplexType()
                             throws Exception
Throws:
Exception

testValidDuration

public void testValidDuration()
                       throws Exception
Throws:
Exception

testInvalidDuration

public void testInvalidDuration()
                         throws Exception
Throws:
Exception

testValidDateTime

public void testValidDateTime()
                       throws Exception
Throws:
Exception

testInvalidDateTime

public void testInvalidDateTime()
                         throws Exception
Throws:
Exception

testValidTime

public void testValidTime()
                   throws Exception
Throws:
Exception

testInvalidTime

public void testInvalidTime()
                     throws Exception
Throws:
Exception

testValidDate

public void testValidDate()
                   throws Exception
Throws:
Exception

testInvalidDate

public void testInvalidDate()
                     throws Exception
Throws:
Exception

testValidYearMonth

public void testValidYearMonth()
                        throws Exception
Throws:
Exception

testInvalidYearMonth

public void testInvalidYearMonth()
                          throws Exception
Throws:
Exception

testValidYear

public void testValidYear()
                   throws Exception
Throws:
Exception

testInvalidYear

public void testInvalidYear()
                     throws Exception
Throws:
Exception

testValidMonthDay

public void testValidMonthDay()
                       throws Exception
Throws:
Exception

testInvalidMonthDay

public void testInvalidMonthDay()
                         throws Exception
Throws:
Exception

testValidDay

public void testValidDay()
                  throws Exception
Throws:
Exception

testInvalidDay

public void testInvalidDay()
                    throws Exception
Throws:
Exception

testValidMonth

public void testValidMonth()
                    throws Exception
Throws:
Exception

testInvalidMonth

public void testInvalidMonth()
                      throws Exception
Throws:
Exception

testValidBooleanTrue

public void testValidBooleanTrue()
                          throws Exception
Throws:
Exception

testValidBooleanFalse

public void testValidBooleanFalse()
                           throws Exception
Throws:
Exception

testInvalidBoolean

public void testInvalidBoolean()
                        throws Exception
Throws:
Exception

testValidBase64

public void testValidBase64()
                     throws Exception
Throws:
Exception

testValidHexadecimal

public void testValidHexadecimal()
                          throws Exception
Throws:
Exception

testInvalidHexadecimal

public void testInvalidHexadecimal()
                            throws Exception
Throws:
Exception

testValidFloat

public void testValidFloat()
                    throws Exception
Throws:
Exception

testInvalidFloat

public void testInvalidFloat()
                      throws Exception
Throws:
Exception

testValidDecimalWithEmptyRangeFacets

public void testValidDecimalWithEmptyRangeFacets()
                                          throws Exception
Throws:
Exception

testInvalidDecimal

public void testInvalidDecimal()
                        throws Exception
Throws:
Exception

testValidDouble

public void testValidDouble()
                     throws Exception
Throws:
Exception

testInvalidDouble

public void testInvalidDouble()
                       throws Exception
Throws:
Exception

testValidQName

public void testValidQName()
                    throws Exception
Throws:
Exception

testInvalidQName

public void testInvalidQName()
                      throws Exception
Throws:
Exception

testValidNotation

public void testValidNotation()
                       throws Exception
Throws:
Exception

testInvalidNotation

public void testInvalidNotation()
                         throws Exception
Throws:
Exception

testInvalidNonMixedContentType

public void testInvalidNonMixedContentType()
                                    throws Exception
Throws:
Exception

testNullNonMixedContentType

public void testNullNonMixedContentType()
                                 throws Exception
Throws:
Exception

testEmptyNonMixedContentType

public void testEmptyNonMixedContentType()
                                  throws Exception
Throws:
Exception

testMixedContentType

public void testMixedContentType()
                          throws Exception
Throws:
Exception

testContentOfValidExclusiveNumericRange

public void testContentOfValidExclusiveNumericRange()
                                             throws Exception
Throws:
Exception

testContentOfTooLowExclusiveNumericRange

public void testContentOfTooLowExclusiveNumericRange()
                                              throws Exception
Throws:
Exception

testContentOfLowBorderExclusiveNumericRange

public void testContentOfLowBorderExclusiveNumericRange()
                                                 throws Exception
Throws:
Exception

testContentOfTooHighExclusiveNumericRange

public void testContentOfTooHighExclusiveNumericRange()
                                               throws Exception
Throws:
Exception

testContentOfHighBorderExclusiveNumericRange

public void testContentOfHighBorderExclusiveNumericRange()
                                                  throws Exception
Throws:
Exception

testContentOfValidInclusiveNumericRange

public void testContentOfValidInclusiveNumericRange()
                                             throws Exception
Throws:
Exception

testContentOfTooLowInclusiveNumericRange

public void testContentOfTooLowInclusiveNumericRange()
                                              throws Exception
Throws:
Exception

testContentOfTooHighInclusiveNumericRange

public void testContentOfTooHighInclusiveNumericRange()
                                               throws Exception
Throws:
Exception

testFloatAndStringBasedRangeCheck

public void testFloatAndStringBasedRangeCheck()
                                       throws Exception
Throws:
Exception

testInvalidRangeType

public void testInvalidRangeType()
                          throws Exception
Throws:
Exception

testInvalidRangeValue

public void testInvalidRangeValue()
                           throws Exception
Throws:
Exception

testValidStringNoFacets

public void testValidStringNoFacets()
                             throws Exception
Throws:
Exception

testValidStringLengthRange

public void testValidStringLengthRange()
                                throws Exception
Throws:
Exception

testStringToShortForRange

public void testStringToShortForRange()
                               throws Exception
Throws:
Exception

testStringTooLongForRange

public void testStringTooLongForRange()
                               throws Exception
Throws:
Exception

testValidStringLength

public void testValidStringLength()
                           throws Exception
Throws:
Exception

testStringTooShort

public void testStringTooShort()
                        throws Exception
Throws:
Exception

testStringTooLong

public void testStringTooLong()
                       throws Exception
Throws:
Exception

testValidArray

public void testValidArray()
                    throws Exception
Throws:
Exception

testValidArrayInRange

public void testValidArrayInRange()
                           throws Exception
Throws:
Exception

testArrayTooShort

public void testArrayTooShort()
                       throws Exception
Throws:
Exception

testArrayTooLong

public void testArrayTooLong()
                      throws Exception
Throws:
Exception

testArrayWithInvalidContent

public void testArrayWithInvalidContent()
                                 throws Exception
Throws:
Exception

testArrayLength

public void testArrayLength()
                     throws Exception
Throws:
Exception

testArrayLengthTooShort

public void testArrayLengthTooShort()
                             throws Exception
Throws:
Exception

testArrayLengthTooLong

public void testArrayLengthTooLong()
                            throws Exception
Throws:
Exception

testTotalDigitsFacet

public void testTotalDigitsFacet()
                          throws Exception
Throws:
Exception

testTooManyDigitsFacet

public void testTooManyDigitsFacet()
                            throws Exception
Throws:
Exception

testDecimalNoFacets

public void testDecimalNoFacets()
                         throws Exception
Throws:
Exception

testFractionDigitsFacet

public void testFractionDigitsFacet()
                             throws Exception
Throws:
Exception

testTooManyFractionDigitsFacet

public void testTooManyFractionDigitsFacet()
                                    throws Exception
Throws:
Exception

testValidNoFractionDigitsFacet

public void testValidNoFractionDigitsFacet()
                                    throws Exception
Throws:
Exception

testInvalidNoFractionDigitsFacet

public void testInvalidNoFractionDigitsFacet()
                                      throws Exception
Throws:
Exception

testValidEnumerationFacet

public void testValidEnumerationFacet()
                               throws Exception
Throws:
Exception

testInvalidEnumerationFacet

public void testInvalidEnumerationFacet()
                                 throws Exception
Throws:
Exception

testValidUnion

public void testValidUnion()
                    throws Exception
Throws:
Exception

testInvalidUnion

public void testInvalidUnion()
                      throws Exception
Throws:
Exception

testNillableElement

public void testNillableElement()
                         throws Exception
Throws:
Exception

testElementWithDefault

public void testElementWithDefault()
                            throws Exception
Throws:
Exception

testFixedElement

public void testFixedElement()
                      throws Exception
Throws:
Exception

testNonNillableNonDefaultNonFixedElement

public void testNonNillableNonDefaultNonFixedElement()
                                              throws Exception
Throws:
Exception

testElementWithInvalidDefault

public void testElementWithInvalidDefault()
                                   throws Exception
Throws:
Exception

testInvalidFixedElement

public void testInvalidFixedElement()
                             throws Exception
Throws:
Exception


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