Class OAuthRPExtensionsTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.core.testing.XMLObjectProviderBaseTestCase
net.shibboleth.oidc.saml.xmlobject.impl.OAuthRPExtensionsTest
Test case for creating, marshalling, and unmarshalling
OAuthRPExtensions.-
Field Summary
FieldsFields inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFileFields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject>
voidassertMetadataValue(T metadataValue, String expectedValue, String message) protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject>
voidassertMetadataValueList(List<T> metadataValues, List<String> expectedValues, String message) protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject>
voidassertMetadataValueSet(Set<T> metadataValues, Set<T> expectedValues, String message) protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject,B extends AbstractSAMLObjectBuilder<T>>
TbuildMetadataValueObject(B builder, String value) voidvoidvoidvoidMethods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testSingleElementOptionalAttributesMarshall, testSingleElementOptionalAttributesUnmarshall, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshallMethods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementMethods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
Field Details
-
EXTENSION_NAMESPACE
- See Also:
-
ATTRIBUTE_EXT_QNAME
-
ATTRIBUTE_EXT_VALUE
- See Also:
-
-
Constructor Details
-
OAuthRPExtensionsTest
public OAuthRPExtensionsTest()Constructor
-
-
Method Details
-
testChildElementsMarshall
public void testChildElementsMarshall()- Overrides:
testChildElementsMarshallin classXMLObjectProviderBaseTestCase
-
testChildElementsUnmarshall
public void testChildElementsUnmarshall()- Overrides:
testChildElementsUnmarshallin classXMLObjectProviderBaseTestCase
-
assertMetadataValue
-
assertMetadataValueSet
-
assertMetadataValueList
-
buildMetadataValueObject
protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject,B extends AbstractSAMLObjectBuilder<T>> T buildMetadataValueObject(B builder, String value) -
testSingleElementMarshall
public void testSingleElementMarshall()- Specified by:
testSingleElementMarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()- Specified by:
testSingleElementUnmarshallin classXMLObjectProviderBaseTestCase
-