public class IDAttributeTest extends XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactoryJAVA5_XSLTC_FACTORY_NAME, XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_START_NO_VERSION, XSLT_STRIP_COMMENTS_TEMPLATE, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENTCLOSE_NODE, END_CDATA, END_COMMENT, END_PROCESSING_INSTRUCTION, OPEN_END_NODE, OPEN_START_NODE, START_CDATA, START_COMMENT, START_DOCTYPE, START_PROCESSING_INSTRUCTION, W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_INSTANCE_NS_URI, W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_INSTANCE_TYPE_ATTR, W3C_XML_SCHEMA_NS_URI, XML_DECLARATION, XMLNS_ATTRIBUTE_URI, XMLNS_PREFIX, XPATH_ATTRIBUTE_IDENTIFIER, XPATH_CHARACTER_NODE_IDENTIFIER, XPATH_COMMENT_IDENTIFIER, XPATH_NODE_INDEX_END, XPATH_NODE_INDEX_START, XPATH_PROCESSING_INSTRUCTION_IDENTIFIER, XPATH_SEPARATOR| 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 |
testChangePropagation()
Test propagation of various changes to ID attribute lookup
where children are singletons.
|
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 |
testComplexUnmarshall()
Test of ID attributes on complex nested unmarshalled elements
where children are singletons.
|
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
Configuration 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.
|
assertEquals, assertEquals, buildXMLObject, printXML, printXML, setUp, unmarshallElementassertNodeTestPasses, assertNodeTestPasses, assertNodeTestPasses, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, compareXMLcountTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, failNotEquals, failNotSame, failSamepublic void testSimpleUnmarshall()
public void testComplexUnmarshall()
public void testChangePropagation()
public void testComplexUnmarshallInList()
public void testChangePropagationInList()
public void testListOpChangePropagation()
public void testAttributeMap()
throws org.opensaml.xml.parse.XMLParserException,
org.opensaml.xml.io.UnmarshallingException
org.opensaml.xml.parse.XMLParserException - when parser encounters an errororg.opensaml.xml.io.UnmarshallingException - when unmarshaller encounters an errorpublic void testAttributeMapOps()
throws org.opensaml.xml.parse.XMLParserException,
org.opensaml.xml.io.UnmarshallingException
org.opensaml.xml.parse.XMLParserException - when parser encounters an errororg.opensaml.xml.io.UnmarshallingException - when unmarshaller encounters an errorpublic void testGlobalIDRegistration()
throws org.opensaml.xml.parse.XMLParserException,
org.opensaml.xml.io.UnmarshallingException
Configuration are being
handled properly in the AttributeMap.org.opensaml.xml.parse.XMLParserExceptionorg.opensaml.xml.io.UnmarshallingExceptionCopyright © 1999-2014. All Rights Reserved.