org.opensaml.xml
public class ConfigurationTest extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
private org.opensaml.xml.XMLConfigurator |
configurator
System configuration utility
|
private org.opensaml.xml.parse.BasicParserPool |
parserPool
Parser pool used to parse example config files
|
private QName |
simpleXMLObjectQName
SimpleElement QName
|
Constructor and Description |
---|
ConfigurationTest()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
testIDAttributeConfiguration()
Tests that global ID attribute registration/deregistration via the XMLTooling config file is functioning
properly.
|
void |
testIDAttributeRegistration()
Tests that global ID attribute registration/deregistration is functioning properly.
|
void |
testInvalidConfiguration()
Tests that a schema invalid configuration file is properly identified as such.
|
void |
testObjectProviderConfiguration()
Tests loading of multiple configuration files.
|
void |
testValidatorSuiteConfiguration()
Tests that ValidatorSuites are correctly configured.
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
private org.opensaml.xml.XMLConfigurator configurator
private org.opensaml.xml.parse.BasicParserPool parserPool
private QName simpleXMLObjectQName
public ConfigurationTest() throws org.opensaml.xml.ConfigurationException
ConfigurationException
public void testInvalidConfiguration() throws Exception
Exception
public void testObjectProviderConfiguration() throws Exception
Exception
public void testValidatorSuiteConfiguration() throws org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.ConfigurationException
org.opensaml.xml.parse.XMLParserException
- thrown if the configuration XML file can not be readConfigurationException
- thrown if there the ValidatorSuites can not be configuredpublic void testIDAttributeRegistration()
public void testIDAttributeConfiguration() throws org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.ConfigurationException
org.opensaml.xml.parse.XMLParserException
- thrown if the XML config file can not be readConfigurationException
- thrown if the ID attributes can not be registeredCopyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.