org.opensaml.saml2.metadata.impl
public class EntitiesDescriptorTest extends BaseSAMLObjectProviderTestCase
EntitiesDescriptorImpl
.Modifier and Type | Field and Description |
---|---|
protected long |
expectedCacheDuration
Expected cacheDuration value in miliseconds
|
protected int |
expectedEntitiesDescriptorsCount
Expected number of child EntitiesDescriptors
|
protected int |
expectedEntityDescriptorsCount
Expected number of child EntityDescriptors
|
protected String |
expectedID
Expected ID attribute value
|
protected String |
expectedName
Expected Name attribute value
|
protected org.joda.time.DateTime |
expectedValidUntil
Expected validUntil value
|
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, singleElementFile, singleElementOptionalAttributesFile
builderFactory, marshallerFactory, parser, unmarshallerFactory
JAVA5_XSLTC_FACTORY_NAME, XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_START_NO_VERSION, XSLT_STRIP_COMMENTS_TEMPLATE, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENT
CLOSE_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_NS_URI, XML_DECLARATION, 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 |
---|
EntitiesDescriptorTest()
Constructor
|
Modifier and Type | Method and Description |
---|---|
private Signature |
buildSignatureSkeleton()
Build a Signature skeleton to use in marshalling unit tests.
|
protected void |
setUp() |
void |
testChildElementsMarshall()
Tests marshalling the contents of a single element with child elements to a DOM document.
|
void |
testChildElementsUnmarshall()
Tests unmarshalling a document that contains a single element with children.
|
void |
testSingleElementMarshall()
Tests marshalling the contents of a single element, with no optional attributes, to a DOM document.
|
void |
testSingleElementOptionalAttributesMarshall()
Tests marshalling the contents of a single element, with all optional attributes, to a DOM document.
|
void |
testSingleElementOptionalAttributesUnmarshall()
Tests unmarshalling a document that contains a single element (no children) with all that element's optional
attributes.
|
void |
testSingleElementUnmarshall()
Tests unmarshalling a document that contains a single element (no children) with no optional attributes.
|
tearDown
assertEquals, assertEquals, buildXMLObject, unmarshallElement
assertNodeTestPasses, 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, compareXML
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, toString
protected String expectedName
protected String expectedID
protected long expectedCacheDuration
protected org.joda.time.DateTime expectedValidUntil
protected int expectedEntitiesDescriptorsCount
protected int expectedEntityDescriptorsCount
protected void setUp() throws Exception
setUp
in class BaseSAMLObjectProviderTestCase
Exception
public void testSingleElementUnmarshall()
testSingleElementUnmarshall
in class BaseSAMLObjectProviderTestCase
public void testSingleElementOptionalAttributesUnmarshall()
testSingleElementOptionalAttributesUnmarshall
in class BaseSAMLObjectProviderTestCase
public void testChildElementsUnmarshall()
testChildElementsUnmarshall
in class BaseSAMLObjectProviderTestCase
public void testSingleElementMarshall()
testSingleElementMarshall
in class BaseSAMLObjectProviderTestCase
public void testSingleElementOptionalAttributesMarshall()
testSingleElementOptionalAttributesMarshall
in class BaseSAMLObjectProviderTestCase
public void testChildElementsMarshall()
testChildElementsMarshall
in class BaseSAMLObjectProviderTestCase
private Signature buildSignatureSkeleton()
Copyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.