Class RuleTest

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

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

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    private String
    Expected ProfileURI

    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

    • expectedRuleId

      private String expectedRuleId
      Expected ProfileURI
    • expectedDescription

      private String expectedDescription
  • Constructor Details

    • RuleTest

      public RuleTest()
      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