net.sf.jaxme.xs.junit
Class ParserTestBase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sf.jaxme.xs.junit.ParserTestBase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ParserTest

public abstract class ParserTestBase
extends junit.framework.TestCase

Author:
Jochen Wiedmann

Constructor Summary
protected ParserTestBase(java.lang.String pName)
           
 
Method Summary
protected  XSAtomicType assertAtomicType(XSSimpleType pType)
           
protected  XSParticle assertComplexContent(XSComplexType pType)
           
protected  XSComplexType assertComplexType(XSType pType)
           
protected  XSElement assertElement(XSParticle pParticle)
           
protected  XSGroup assertGroup(XSParticle pParticle)
           
protected  XSListType assertListType(XSSimpleType pType)
           
protected  XSType assertRestriction(XSSimpleType pType)
           
protected  void assertSequence(XSGroup pGroup)
           
protected  XSSimpleContentType assertSimpleContent(XSComplexType pType)
           
protected  XSSimpleType assertSimpleType(XSType pType)
           
protected  XSUnionType assertUnionType(XSSimpleType pType)
           
protected  JAXBParser newJAXBParser()
           
protected  XSParser newXSParser()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserTestBase

protected ParserTestBase(java.lang.String pName)
Method Detail

newXSParser

protected XSParser newXSParser()

newJAXBParser

protected JAXBParser newJAXBParser()

assertComplexType

protected XSComplexType assertComplexType(XSType pType)
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

assertSimpleType

protected XSSimpleType assertSimpleType(XSType pType)
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

assertAtomicType

protected XSAtomicType assertAtomicType(XSSimpleType pType)
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

assertListType

protected XSListType assertListType(XSSimpleType pType)
                             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

assertUnionType

protected XSUnionType assertUnionType(XSSimpleType pType)
                               throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

assertRestriction

protected XSType assertRestriction(XSSimpleType pType)
                            throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

assertComplexContent

protected XSParticle assertComplexContent(XSComplexType pType)

assertGroup

protected XSGroup assertGroup(XSParticle pParticle)

assertSequence

protected void assertSequence(XSGroup pGroup)

assertElement

protected XSElement assertElement(XSParticle pParticle)

assertSimpleContent

protected XSSimpleContentType assertSimpleContent(XSComplexType pType)