public class SPSSODescriptorTest
extends org.opensaml.core.xml.XMLObjectProviderBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
protected org.opensaml.core.xml.schema.XSBooleanValue |
expectedAuthnRequestSigned
expected value for AuthnRequestSigned attribute
|
protected long |
expectedCacheDuration
Expected cacheDuration value in miliseconds
|
protected String |
expectedId
Expected Id
|
protected ArrayList<String> |
expectedSupportedProtocol
List of expected supported protocols
|
protected org.joda.time.DateTime |
expectedValidUntil
Expected validUntil value
|
protected org.opensaml.core.xml.schema.XSBooleanValue |
expectedWantAssertionsSigned
expected value for WantAssertionsSigned attribute
|
| Constructor and Description |
|---|
SPSSODescriptorTest()
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() |
void |
testXSBooleanAttributes()
Test the proper behavior of the XSBooleanValue attributes.
|
initXMLObjectProviderTestingSupprt, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshallassertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprotected org.opensaml.core.xml.schema.XSBooleanValue expectedAuthnRequestSigned
protected org.opensaml.core.xml.schema.XSBooleanValue expectedWantAssertionsSigned
protected ArrayList<String> expectedSupportedProtocol
protected long expectedCacheDuration
protected org.joda.time.DateTime expectedValidUntil
protected String expectedId
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.XMLObjectProviderBaseTestCasepublic void testXSBooleanAttributes()
private org.opensaml.xmlsec.signature.Signature buildSignatureSkeleton()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.