Class BaseMetadataValueTest

    • Field Summary

      • 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
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract QName getElementName()
      Get the element name.
      protected abstract String getExpectedValue()
      Get the expected value from the file.
      void testSingleElementMarshall()
      void testSingleElementUnmarshall()
      • 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
      • Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase

        initOpenSAML
    • Constructor Detail

      • BaseMetadataValueTest

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

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