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
-
public class OAuthRPExtensionsTest extends org.opensaml.core.testing.XMLObjectProviderBaseTestCaseTest case for creating, marshalling, and unmarshallingOAuthRPExtensions.
-
-
Field Summary
Fields Modifier and Type Field Description static QNameATTRIBUTE_EXT_QNAMEstatic StringATTRIBUTE_EXT_VALUEstatic StringEXTENSION_NAMESPACE-
Fields inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
-
-
Constructor Summary
Constructors Constructor Description OAuthRPExtensionsTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <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)voidtestChildElementsMarshall()voidtestChildElementsUnmarshall()voidtestSingleElementMarshall()voidtestSingleElementUnmarshall()-
Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testSingleElementOptionalAttributesMarshall, testSingleElementOptionalAttributesUnmarshall, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshall
-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
-
-
-
Field Detail
-
EXTENSION_NAMESPACE
public static final String EXTENSION_NAMESPACE
- See Also:
- Constant Field Values
-
ATTRIBUTE_EXT_QNAME
public static final QName ATTRIBUTE_EXT_QNAME
-
ATTRIBUTE_EXT_VALUE
public static final String ATTRIBUTE_EXT_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
testChildElementsMarshall
public void testChildElementsMarshall()
- Overrides:
testChildElementsMarshallin classorg.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
testChildElementsUnmarshall
public void testChildElementsUnmarshall()
- Overrides:
testChildElementsUnmarshallin classorg.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
assertMetadataValue
protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject> void assertMetadataValue(T metadataValue, String expectedValue, String message)
-
assertMetadataValueSet
protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject> void assertMetadataValueSet(Set<T> metadataValues, Set<T> expectedValues, String message)
-
assertMetadataValueList
protected <T extends net.shibboleth.oidc.saml.xmlobject.MetadataValueSAMLObject> void assertMetadataValueList(List<T> metadataValues, List<String> expectedValues, String message)
-
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 classorg.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classorg.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
-