Class PolicyTest

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

public class PolicyTest extends org.opensaml.core.testing.XMLObjectProviderBaseTestCase
Test case for creating, marshalling, and unmarshalling PolicyType.
  • Field Details

    • expectedVersion

      private final String expectedVersion
    • expectedPolicyId

      private final String expectedPolicyId
    • expectedRuleCombiningAlgId

      private final String expectedRuleCombiningAlgId
    • expectedNumCombinerParameters

      private final int expectedNumCombinerParameters
    • expectedNumRuleCombinerParameters

      private final int expectedNumRuleCombinerParameters
    • expectedNumVariableDefinitions

      private final int expectedNumVariableDefinitions
    • expectedNumRules

      private final int expectedNumRules
    • expectedDescription

      private final String expectedDescription
    • expectedRuleCombinerParametersRuleIdRef

      private final String expectedRuleCombinerParametersRuleIdRef
    • expectedVariableDefinitionVariableId

      private final String expectedVariableDefinitionVariableId
    • expectedRuleRuleId

      private final String expectedRuleRuleId
    • expectedRuleEffect

      private final EffectType expectedRuleEffect
  • Constructor Details

    • PolicyTest

      public PolicyTest()
      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
    • testSingleElementOptionalAttributesUnmarshall

      public void testSingleElementOptionalAttributesUnmarshall()
      Overrides:
      testSingleElementOptionalAttributesUnmarshall in class org.opensaml.core.testing.XMLObjectProviderBaseTestCase
    • testSingleElementOptionalAttributesMarshall

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