public class RoundTripTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.metadata.Organization |
organization
Organization to marshall
|
private org.opensaml.core.xml.io.Marshaller |
orgMarshaller
Organization Marshaller
|
private org.opensaml.core.xml.io.Unmarshaller |
orgUnmarshaller
Organization Unmarshaller
|
| Constructor and Description |
|---|
RoundTripTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testRoundTrip()
Tests marshalling and unmarshalling the same object a three times.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.saml.saml2.metadata.Organization organization
private org.opensaml.core.xml.io.Marshaller orgMarshaller
private org.opensaml.core.xml.io.Unmarshaller orgUnmarshaller
public void testRoundTrip()
throws org.opensaml.core.xml.io.MarshallingException,
org.opensaml.core.xml.io.UnmarshallingException
org.opensaml.core.xml.io.MarshallingException - thrown if the object can't be marshalledorg.opensaml.core.xml.io.UnmarshallingException - thrown if hte object can't be unmarshalledCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.