Class MetadataTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.saml2.metadata.tests.MetadataTest
-
public class MetadataTest extends XMLObjectBaseTestCase
Test cases that parses real, "in-the-wild", metadata files. Currently uses the InCommon and SWITCH federation metadata files (current as of the time this test was written).
-
-
Field Summary
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description MetadataTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestInCommonUnmarshall()Tests unmarshalling an InCommon metadata document.voidtestSWITCHUnmarshall()Tests unmarshalling an SWITCH metadata document.voidtestUKFedUnmarshall()Tests unmarshalling an SWITCH metadata document.-
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
-
-
-
-
Method Detail
-
testInCommonUnmarshall
public void testInCommonUnmarshall() throws XMLParserException, UnmarshallingExceptionTests unmarshalling an InCommon metadata document.- Throws:
XMLParserException- ...UnmarshallingException- ...
-
testSWITCHUnmarshall
public void testSWITCHUnmarshall()
Tests unmarshalling an SWITCH metadata document.
-
testUKFedUnmarshall
public void testUKFedUnmarshall()
Tests unmarshalling an SWITCH metadata document.
-
-