Class ResponseTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
- org.opensaml.saml.saml1.core.impl.ResponseTest
-
public class ResponseTest extends XMLObjectProviderBaseTestCase
Test class for org.opensaml.saml.saml1.core.Response
-
-
Field Summary
Fields Modifier and Type Field Description private StringexpectedIDRepresentation of IssueInstant in test file.private StringexpectedInResponseToRepresentation of InResponseTo in test file.private InstantexpectedIssueInstantRepresentation of IssueInstant in test file.private intexpectedMinorVersionRepresentation of MinorVersion in test file.private StringexpectedRecipientRepresentation of Recipient in test file.private QNameqnamename used to generate objects-
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 Summary
Constructors Constructor Description ResponseTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAttributeIDnessMarshall()Test marshalling of attribute IDness.voidtestChildElementsMarshall()voidtestChildElementsUnmarshall()voidtestDOMIDResolutionMarshall()voidtestDOMIDResolutionUnmarshall()voidtestSignatureUnmarshall()voidtestSingleElementMarshall()voidtestSingleElementOptionalAttributesMarshall()voidtestSingleElementOptionalAttributesUnmarshall()voidtestSingleElementUnmarshall()-
Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, 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
-
-
-
-
Field Detail
-
qname
private final QName qname
name used to generate objects
-
expectedID
private final String expectedID
Representation of IssueInstant in test file.
-
expectedIssueInstant
private final Instant expectedIssueInstant
Representation of IssueInstant in test file.
-
expectedInResponseTo
private final String expectedInResponseTo
Representation of InResponseTo in test file.
-
expectedMinorVersion
private final int expectedMinorVersion
Representation of MinorVersion in test file.
-
expectedRecipient
private final String expectedRecipient
Representation of Recipient in test file.
-
-
Method Detail
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementOptionalAttributesUnmarshall
public void testSingleElementOptionalAttributesUnmarshall()
- Overrides:
testSingleElementOptionalAttributesUnmarshallin classXMLObjectProviderBaseTestCase
-
testChildElementsUnmarshall
public void testChildElementsUnmarshall()
- Overrides:
testChildElementsUnmarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementMarshall
public void testSingleElementMarshall()
- Specified by:
testSingleElementMarshallin classXMLObjectProviderBaseTestCase
-
testAttributeIDnessMarshall
public void testAttributeIDnessMarshall() throws MarshallingException, XMLParserExceptionTest marshalling of attribute IDness.
-
testSingleElementOptionalAttributesMarshall
public void testSingleElementOptionalAttributesMarshall()
- Overrides:
testSingleElementOptionalAttributesMarshallin classXMLObjectProviderBaseTestCase
-
testChildElementsMarshall
public void testChildElementsMarshall()
- Overrides:
testChildElementsMarshallin classXMLObjectProviderBaseTestCase
-
testSignatureUnmarshall
public void testSignatureUnmarshall()
-
testDOMIDResolutionUnmarshall
public void testDOMIDResolutionUnmarshall()
-
testDOMIDResolutionMarshall
public void testDOMIDResolutionMarshall() throws MarshallingException- Throws:
MarshallingException
-
-