net.sf.jaxme.xs.junit
Class SyntaxTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sf.jaxme.xs.junit.SyntaxTest
All Implemented Interfaces:
junit.framework.Test

public class SyntaxTest
extends junit.framework.TestCase

Author:
Jochen Wiedmann

Constructor Summary
SyntaxTest(java.lang.String pName)
           
 
Method Summary
protected  void parseLogical(java.io.File f)
           
protected  void parseLogical(java.lang.String s)
           
protected  void parseSyntax(java.io.File f)
           
protected  void parseSyntax(java.lang.String s)
           
 void testDatatypesSyntax()
           
 void testStructureLogical()
           
 void testStructureSyntax()
           
 void testXmlSyntax()
           
 
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

SyntaxTest

public SyntaxTest(java.lang.String pName)
Method Detail

parseSyntax

protected void parseSyntax(java.io.File f)
                    throws java.io.IOException,
                           org.xml.sax.SAXException,
                           javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

parseLogical

protected void parseLogical(java.io.File f)
                     throws java.io.IOException,
                            org.xml.sax.SAXException,
                            javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

parseSyntax

protected void parseSyntax(java.lang.String s)
                    throws java.io.IOException,
                           org.xml.sax.SAXException,
                           javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

parseLogical

protected void parseLogical(java.lang.String s)
                     throws java.io.IOException,
                            org.xml.sax.SAXException,
                            javax.xml.parsers.ParserConfigurationException
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

testStructureSyntax

public void testStructureSyntax()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testDatatypesSyntax

public void testDatatypesSyntax()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testXmlSyntax

public void testXmlSyntax()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testStructureLogical

public void testStructureLogical()
                          throws java.lang.Exception
Throws:
java.lang.Exception