de.bsd.x2svg.test
Class TestXsdParsing

java.lang.Object
  extended by de.bsd.x2svg.test.TestXsdParsing

public class TestXsdParsing
extends java.lang.Object

Test parsing of XSDs

Author:
hwr@pilhuhn.de

Field Summary
private static java.lang.String BASEDIR
           
 
Constructor Summary
TestXsdParsing()
           
 
Method Summary
 void testRecursiveXsd()
          Test the a schema with a recursive element 'b'
 void testSampleXsd()
          Test the simple schema.
 void testXsdParseType()
           
 void testXsdWithAttributes()
          Test the parsing of attributes on an XSD
 void testXsdWithInheritance()
          Test a schema where one element is abstract and has children that inherit from it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASEDIR

private static final java.lang.String BASEDIR
See Also:
Constant Field Values
Constructor Detail

TestXsdParsing

public TestXsdParsing()
Method Detail

testSampleXsd

public void testSampleXsd()
                   throws java.lang.Exception
Test the simple schema.

Throws:
java.lang.Exception - if anything goes wrong

testRecursiveXsd

public void testRecursiveXsd()
                      throws java.lang.Exception
Test the a schema with a recursive element 'b'

Throws:
java.lang.Exception - if anything goes wrong

testXsdWithInheritance

public void testXsdWithInheritance()
                            throws java.lang.Exception
Test a schema where one element is abstract and has children that inherit from it. This element also appears later on again and should there be marked as "reference"

Throws:
java.lang.Exception - if anything goes wrong

testXsdParseType

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

testXsdWithAttributes

public void testXsdWithAttributes()
                           throws java.lang.Exception
Test the parsing of attributes on an XSD

Throws:
java.lang.Exception - if anything goes wrong


x2svg version 1.2.1