Class PolicyTest


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

      • 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 org.opensaml.xacml.policy.EffectType expectedRuleEffect
    • Constructor Detail

      • PolicyTest

        public PolicyTest()
        Constructor
    • Method Detail

      • testSingleElementUnmarshall

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

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

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

        public void testChildElementsMarshall()
        Overrides:
        testChildElementsMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCase
      • testSingleElementOptionalAttributesUnmarshall

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

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