Package org.opensaml.xacml.policy.impl
Class ObligationTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.xml.XMLObjectBaseTestCase
-
- org.opensaml.core.xml.XMLObjectProviderBaseTestCase
-
- org.opensaml.xacml.policy.impl.ObligationTest
-
public class ObligationTest extends org.opensaml.core.xml.XMLObjectProviderBaseTestCaseTest case for creating, marshalling, and unmarshallingObligationType.
-
-
Field Summary
Fields Modifier and Type Field Description private intexpectedAttributeAssignmentsprivate StringexpectedAttributeIdprivate StringexpectedDataTypeprivate org.opensaml.xacml.policy.EffectTypeexpectedFulFillOnprivate StringexpectedObligationId-
Fields inherited from class org.opensaml.core.xml.XMLObjectProviderBaseTestCase
childElementsFile, expectedChildElementsDOM, expectedDOM, expectedOptionalAttributesDOM, expectedUnknownAttributesDOM, invalidDOM, invalidFile, singleElementFile, singleElementOptionalAttributesFile, singleElementUnknownAttributesFile
-
-
Constructor Summary
Constructors Constructor Description ObligationTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestChildElementsMarshall()voidtestChildElementsUnmarshall()voidtestSingleElementMarshall()voidtestSingleElementUnmarshall()-
Methods inherited from class org.opensaml.core.xml.XMLObjectProviderBaseTestCase
initXMLObjectProviderTestingSupprt, testSingleElementOptionalAttributesMarshall, testSingleElementOptionalAttributesUnmarshall, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshall
-
Methods inherited from class org.opensaml.core.xml.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
-
-
-
Field Detail
-
expectedObligationId
private String expectedObligationId
-
expectedFulFillOn
private org.opensaml.xacml.policy.EffectType expectedFulFillOn
-
expectedAttributeAssignments
private int expectedAttributeAssignments
-
expectedDataType
private String expectedDataType
-
expectedAttributeId
private String expectedAttributeId
-
-
Method Detail
-
testSingleElementUnmarshall
public void testSingleElementUnmarshall()
- Specified by:
testSingleElementUnmarshallin classorg.opensaml.core.xml.XMLObjectProviderBaseTestCase
-
testSingleElementMarshall
public void testSingleElementMarshall()
- Specified by:
testSingleElementMarshallin classorg.opensaml.core.xml.XMLObjectProviderBaseTestCase
-
testChildElementsUnmarshall
public void testChildElementsUnmarshall()
- Overrides:
testChildElementsUnmarshallin classorg.opensaml.core.xml.XMLObjectProviderBaseTestCase
-
testChildElementsMarshall
public void testChildElementsMarshall()
- Overrides:
testChildElementsMarshallin classorg.opensaml.core.xml.XMLObjectProviderBaseTestCase
-
-