Class BaseMetadataValueTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
- net.shibboleth.oidc.saml.xmlobject.impl.BaseMetadataValueTest
-
- Direct Known Subclasses:
ClientSecretKeyReferenceTest,ClientSecretTest,DefaultAcrValueTest,JwksDataTest,JwksUriTest,PostLogoutRedirectUriTest,RequestUriTest
public abstract class BaseMetadataValueTest extends org.opensaml.core.testing.XMLObjectProviderBaseTestCaseBase test case for creating, marshalling, and unmarshallingMetadataValueSAMLObjects.
-
-
Field Summary
-
Fields inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
-
-
Constructor Summary
Constructors Constructor Description BaseMetadataValueTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract QNamegetElementName()Get the element name.protected abstract StringgetExpectedValue()Get the expected value from the file.voidtestSingleElementMarshall()voidtestSingleElementUnmarshall()-
Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testChildElementsMarshall, testChildElementsUnmarshall, 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
-
-
-
-
Method Detail
-
getExpectedValue
protected abstract String getExpectedValue()
Get the expected value from the file.- Returns:
- The expected value.
-
getElementName
protected abstract QName getElementName()
Get the element name.- Returns:
- The element name.
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classorg.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
testSingleElementMarshall
public void testSingleElementMarshall()
- Specified by:
testSingleElementMarshallin classorg.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
-