Spring Web Services Framework

org.springframework.xml.stream
Class AbstractStaxXmlReaderTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.xml.stream.AbstractStaxXmlReaderTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
StaxEventXmlReaderTest, StaxStreamXmlReaderTest

public abstract class AbstractStaxXmlReaderTestCase
extends junit.framework.TestCase


Nested Class Summary
protected static class AbstractStaxXmlReaderTestCase.SaxArgumentMatcher
          Easymock ArgumentMatcher implementation that matches SAX arguments.
 
Field Summary
protected static XMLInputFactory inputFactory
           
 
Constructor Summary
AbstractStaxXmlReaderTestCase()
           
 
Method Summary
protected abstract  org.springframework.xml.stream.AbstractStaxXmlReader createStaxXmlReader(Reader reader)
           
protected  void setUp()
           
 void testContentHandler()
           
 void testContentHandlerAttributes()
           
 void testDtdHandler()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

inputFactory

protected static XMLInputFactory inputFactory
Constructor Detail

AbstractStaxXmlReaderTestCase

public AbstractStaxXmlReaderTestCase()
Method Detail

setUp

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

testContentHandler

public void testContentHandler()
                        throws SAXException,
                               IOException,
                               XMLStreamException
Throws:
SAXException
IOException
XMLStreamException

testContentHandlerAttributes

public void testContentHandlerAttributes()
                                  throws SAXException,
                                         IOException,
                                         XMLStreamException
Throws:
SAXException
IOException
XMLStreamException

testDtdHandler

public void testDtdHandler()
                    throws IOException,
                           SAXException,
                           XMLStreamException
Throws:
IOException
SAXException
XMLStreamException

createStaxXmlReader

protected abstract org.springframework.xml.stream.AbstractStaxXmlReader createStaxXmlReader(Reader reader)
                                                                                     throws XMLStreamException
Throws:
XMLStreamException

Spring Web Services Framework

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