public class IDAttributeTest extends XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory| Constructor and Description |
|---|
IDAttributeTest()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
testAttributeMap()
Tests registering ID-to-XMLObject mapping when unmarshalling unknown content,
using the AttributeMap supplied by way of the AttributeExtensibleXMLObject interface.
|
void |
testAttributeMapOps()
Tests registering ID-to-XMLObject mapping when unmarshalling unknown content,
using the AttributeMap supplied by way of the AttributeExtensibleXMLObject interface.
|
void |
testChangePropagationInList()
Test propagation of various changes to ID attribute mappings due to attribute value changes
where children are stored in an XMLObjectChildren list.
|
void |
testComplexUnmarshallInList()
Test of ID attributes on complex nested unmarshalled elements
where children are stored in an XMLObjectChildren list.
|
void |
testGlobalIDRegistration()
Tests that attributes registered globally on
XMLObjectProviderRegistrySupport are being
handled properly in the AttributeMap. |
void |
testListOpChangePropagation()
Test propagation of various changes to ID attribute mappings due to list operations
where children are stored in an XMLObjectChildren list.
|
void |
testSimpleUnmarshall()
Simple test of ID attribute on a single object.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementinitOpenSAMLpublic void testSimpleUnmarshall()
public void testComplexUnmarshallInList()
public void testChangePropagationInList()
public void testListOpChangePropagation()
public void testAttributeMap()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserException - when parser encounters an errororg.opensaml.core.xml.io.UnmarshallingException - when unmarshaller encounters an errorpublic void testAttributeMapOps()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserException - when parser encounters an errororg.opensaml.core.xml.io.UnmarshallingException - when unmarshaller encounters an errorpublic void testGlobalIDRegistration()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLObjectProviderRegistrySupport are being
handled properly in the AttributeMap.net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2015. All rights reserved.