org.kuali.rice.kew.batch
Class XmlSchemaTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.kew.batch.XmlSchemaTest
All Implemented Interfaces:
MethodAware

public class XmlSchemaTest
extends RiceTestCase

Test schema validation

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
XmlSchemaTest()
           
 
Method Summary
protected  String getModuleName()
           
 void testDefaultAttributeValue()
          Tests that default attribute value is visible to XPath from a schema-validated W3C Document TODO: finish this test when we figure out how to conveniently use namespaces with XPath
 void testValidation()
           
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getPerTestLifecycles, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, loadSuiteTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUp, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSchemaTest

public XmlSchemaTest()
Method Detail

testValidation

public void testValidation()
                    throws ParserConfigurationException,
                           IOException,
                           SAXException
Throws:
ParserConfigurationException
IOException
SAXException

testDefaultAttributeValue

public void testDefaultAttributeValue()
                               throws Exception
Tests that default attribute value is visible to XPath from a schema-validated W3C Document TODO: finish this test when we figure out how to conveniently use namespaces with XPath

Throws:
Exception

getModuleName

protected String getModuleName()
Specified by:
getModuleName in class RiceTestCase


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.