Spring Web Services Framework

org.springframework.xml.validation
Class AbstractValidatorFactoryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.xml.validation.AbstractValidatorFactoryTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
Jaxp10ValidatorFactoryTest, Jaxp13ValidatorFactoryTest

public abstract class AbstractValidatorFactoryTestCase
extends junit.framework.TestCase


Constructor Summary
AbstractValidatorFactoryTestCase()
           
 
Method Summary
protected abstract  org.springframework.xml.validation.XmlValidator createValidator(Resource[] schemaResources, String schemaLanguage)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testHandleInvalidMessageDom()
           
 void testHandleInvalidMessageSax()
           
 void testHandleInvalidMessageStream()
           
 void testHandleValidMessageDom()
           
 void testHandleValidMessageSax()
           
 void testHandleValidMessageStream()
           
 void testMultipleSchemasValidMessage()
           
 void testValidateTwice()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AbstractValidatorFactoryTestCase

public AbstractValidatorFactoryTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

createValidator

protected abstract org.springframework.xml.validation.XmlValidator createValidator(Resource[] schemaResources,
                                                                                   String schemaLanguage)
                                                                            throws Exception
Throws:
Exception

testHandleValidMessageStream

public void testHandleValidMessageStream()
                                  throws Exception
Throws:
Exception

testValidateTwice

public void testValidateTwice()
                       throws Exception
Throws:
Exception

testHandleInvalidMessageStream

public void testHandleInvalidMessageStream()
                                    throws Exception
Throws:
Exception

testHandleValidMessageSax

public void testHandleValidMessageSax()
                               throws Exception
Throws:
Exception

testHandleInvalidMessageSax

public void testHandleInvalidMessageSax()
                                 throws Exception
Throws:
Exception

testHandleValidMessageDom

public void testHandleValidMessageDom()
                               throws Exception
Throws:
Exception

testHandleInvalidMessageDom

public void testHandleInvalidMessageDom()
                                 throws Exception
Throws:
Exception

testMultipleSchemasValidMessage

public void testMultipleSchemasValidMessage()
                                     throws Exception
Throws:
Exception

Spring Web Services Framework

Copyright � 2005-2008 The Spring Web Services Framework. All Rights Reserved.