Class ObligationTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.core.testing.XMLObjectProviderBaseTestCase
org.opensaml.xacml.policy.impl.ObligationTest

public class ObligationTest extends org.opensaml.core.testing.XMLObjectProviderBaseTestCase
Test case for creating, marshalling, and unmarshalling ObligationType.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private String
     
    private String
     
    private EffectType
     
    private String
     

    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
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    void
    void
    void

    Methods inherited from class org.opensaml.core.testing.XMLObjectProviderBaseTestCase

    initXMLObjectProviderTestingSupprt, testAttributeIDnessMarshall, testSingleElementOptionalAttributesMarshall, testSingleElementOptionalAttributesUnmarshall, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • expectedObligationId

      private String expectedObligationId
    • expectedFulFillOn

      private EffectType expectedFulFillOn
    • expectedAttributeAssignments

      private int expectedAttributeAssignments
    • expectedDataType

      private String expectedDataType
    • expectedAttributeId

      private String expectedAttributeId
  • Constructor Details

    • ObligationTest

      public ObligationTest()
      Constructor
  • Method Details

    • testSingleElementUnmarshall

      public void testSingleElementUnmarshall()
      Specified by:
      testSingleElementUnmarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
    • testSingleElementMarshall

      public void testSingleElementMarshall()
      Specified by:
      testSingleElementMarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
    • testChildElementsUnmarshall

      public void testChildElementsUnmarshall()
      Overrides:
      testChildElementsUnmarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
    • testChildElementsMarshall

      public void testChildElementsMarshall()
      Overrides:
      testChildElementsMarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase