public class EntitiesDescriptorTest
extends org.opensaml.core.xml.XMLObjectProviderBaseTestCase
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
|
| Constructor and Description |
|---|
EntitiesDescriptorTest()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
private org.opensaml.xmlsec.signature.Signature |
buildSignatureSkeleton()
Build a Signature skeleton to use in marshalling unit tests.
|
protected void |
setUp() |
void |
testChildElementsMarshall() |
void |
testChildElementsUnmarshall() |
void |
testSingleElementMarshall() |
void |
testSingleElementOptionalAttributesMarshall() |
void |
testSingleElementOptionalAttributesUnmarshall() |
void |
testSingleElementUnmarshall() |
initXMLObjectProviderTestingSupprt, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshallassertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprotected String expectedName
protected String expectedID
protected long expectedCacheDuration
protected org.joda.time.DateTime expectedValidUntil
protected int expectedEntitiesDescriptorsCount
protected int expectedEntityDescriptorsCount
public void testSingleElementUnmarshall()
testSingleElementUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementOptionalAttributesUnmarshall()
testSingleElementOptionalAttributesUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testChildElementsUnmarshall()
testChildElementsUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementMarshall()
testSingleElementMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementOptionalAttributesMarshall()
testSingleElementOptionalAttributesMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testChildElementsMarshall()
testChildElementsMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCaseprivate org.opensaml.xmlsec.signature.Signature buildSignatureSkeleton()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.