org.apache.commons.betwixt.schema
Class TestSchemaValidity

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.betwixt.xmlunit.XmlTestCase
              extended by org.apache.commons.betwixt.AbstractTestCase
                  extended by org.apache.commons.betwixt.schema.TestSchemaValidity
All Implemented Interfaces:
junit.framework.Test

public class TestSchemaValidity
extends AbstractTestCase

Tests for the validity of the schema produced.

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Field Summary
 
Fields inherited from class org.apache.commons.betwixt.AbstractTestCase
basedir
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
TestSchemaValidity(java.lang.String name)
           
 
Method Summary
 void testOrder()
           
 void testOrderLine()
           
 void testRSS()
           
 void testSimpleBean()
           
 void testSimplestBeanWithAttributes()
           
 void testSimplestBeanWithElements()
           
 
Methods inherited from class org.apache.commons.betwixt.AbstractTestCase
createBean, getTestFile, getTestFileURL
 
Methods inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
createDocumentBuilder, getDomFactory, isValid, parseFile, parseString, parseString, validateWithSchema, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsValid, xmlAssertIsValid
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSchemaValidity

public TestSchemaValidity(java.lang.String name)
Method Detail

testSimplestBeanWithAttributes

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

testSimplestBeanWithElements

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

testSimpleBean

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

testOrderLine

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

testOrder

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

testRSS

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


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.