Class ConditionsTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.testing.XMLObjectProviderBaseTestCase
-
- org.opensaml.saml.saml2.core.impl.ConditionsTest
-
public class ConditionsTest extends XMLObjectProviderBaseTestCase
Test case for creating, marshalling, and unmarshallingConditionsImpl.
-
-
Field Summary
Fields Modifier and Type Field Description private intaudienceRestrictionCountCount of AudienceRestriction subelementsprivate intconditionCountCount of Condition subelementsprivate InstantexpectedNotBeforeExpected NotBefore valueprivate InstantexpectedNotOnOrAfterExpected NotOnOrAfter value-
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 ConditionsTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestChildElementsMarshall()voidtestChildElementsUnmarshall()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
-
expectedNotBefore
private Instant expectedNotBefore
Expected NotBefore value
-
expectedNotOnOrAfter
private Instant expectedNotOnOrAfter
Expected NotOnOrAfter value
-
conditionCount
private int conditionCount
Count of Condition subelements
-
audienceRestrictionCount
private int audienceRestrictionCount
Count of AudienceRestriction subelements
-
-
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
-
testChildElementsUnmarshall
public void testChildElementsUnmarshall()
- Overrides:
testChildElementsUnmarshallin classXMLObjectProviderBaseTestCase
-
testChildElementsMarshall
public void testChildElementsMarshall()
- Overrides:
testChildElementsMarshallin classXMLObjectProviderBaseTestCase
-
-