Class OAuthRPExtensionsTest


  • public class OAuthRPExtensionsTest
    extends org.opensaml.core.testing.XMLObjectProviderBaseTestCase
    Test case for creating, marshalling, and unmarshalling OAuthRPExtensions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static QName ATTRIBUTE_EXT_QNAME  
      static String ATTRIBUTE_EXT_VALUE  
      static String EXTENSION_NAMESPACE  
      • Fields inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase

        childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
      • Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase

        builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
    • Constructor Detail

      • OAuthRPExtensionsTest

        public OAuthRPExtensionsTest()
        Constructor
    • Method Detail

      • testChildElementsMarshall

        public void testChildElementsMarshall()
        Overrides:
        testChildElementsMarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
      • testChildElementsUnmarshall

        public void testChildElementsUnmarshall()
        Overrides:
        testChildElementsUnmarshall in class org.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:
        testSingleElementMarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
      • testSingleElementUnmarshall

        public void testSingleElementUnmarshall()
        Specified by:
        testSingleElementUnmarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase