net.sf.jaxme.xs.junit
Class ParserTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
net.sf.jaxme.xs.junit.ParserTestBase
net.sf.jaxme.xs.junit.ParserTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- JAXBParserTest
- public class ParserTest
- extends ParserTestBase
Implements some basic tests for the Schema generator.
- Version:
- $Id: ParserTest.java,v 1.2 2003/08/13 20:34:51 joe Exp $
- Author:
- Jochen Wiedmann
Constructor Summary |
ParserTest(java.lang.String arg)
|
Methods inherited from class net.sf.jaxme.xs.junit.ParserTestBase |
assertAtomicType, assertComplexContent, assertComplexType, assertElement, assertGroup, assertListType, assertRestriction, assertSequence, assertSimpleContent, assertSimpleType, assertUnionType, newJAXBParser, 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 |
ParserTest
public ParserTest(java.lang.String arg)
testSimpleTypes
protected void testSimpleTypes(XSParser pParser)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
testSimpleTypes
public void testSimpleTypes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttributes
protected void testAttributes(XSParser pParser)
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttributes
public void testAttributes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttributeGroups
protected void testAttributeGroups(XSParser pParser)
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttributeGroups
public void testAttributeGroups()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElements
protected void testElements(XSParser pParser)
throws java.lang.Exception
- Throws:
java.lang.Exception
testElements
public void testElements()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFacets
public void testFacets(XSParser pParser)
throws java.lang.Exception
- Throws:
java.lang.Exception
testFacets
public void testFacets()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPurchaseOrder
public void testPurchaseOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRestrictionMaxExclusive
public void testRestrictionMaxExclusive()
throws java.lang.Exception
- A test case to trigger a previous parser bug.
- Throws:
java.lang.Exception