Class DiscoveryResponseTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
- org.opensaml.saml.ext.idpdisco.impl.DiscoveryResponseTest
-
public class DiscoveryResponseTest extends XMLObjectProviderBaseTestCase
Test case for creating, marshalling, and unmarshallingDiscoveryResponseImpl.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringexpectedBindingprotected IntegerexpectedIndexprotected XSBooleanValueexpectedIsDefaultprotected StringexpectedLocationprotected StringexpectedResponseLocation-
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 DiscoveryResponseTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestSingleElementMarshall()voidtestSingleElementOptionalAttributesMarshall()voidtestSingleElementOptionalAttributesUnmarshall()voidtestSingleElementUnmarshall()voidtestXSBooleanAttributes()Test the proper behavior of the XSBooleanValue attributes.-
Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testChildElementsMarshall, testChildElementsUnmarshall, 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
-
expectedBinding
protected String expectedBinding
-
expectedLocation
protected String expectedLocation
-
expectedResponseLocation
protected String expectedResponseLocation
-
expectedIndex
protected Integer expectedIndex
-
expectedIsDefault
protected XSBooleanValue expectedIsDefault
-
-
Method Detail
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementOptionalAttributesUnmarshall
public void testSingleElementOptionalAttributesUnmarshall()
- Overrides:
testSingleElementOptionalAttributesUnmarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementMarshall
public void testSingleElementMarshall()
- Specified by:
testSingleElementMarshallin classXMLObjectProviderBaseTestCase
-
testSingleElementOptionalAttributesMarshall
public void testSingleElementOptionalAttributesMarshall()
- Overrides:
testSingleElementOptionalAttributesMarshallin classXMLObjectProviderBaseTestCase
-
testXSBooleanAttributes
public void testXSBooleanAttributes()
Test the proper behavior of the XSBooleanValue attributes.
-
-