public class PolicyTest
extends org.opensaml.core.xml.XMLObjectProviderBaseTestCase
PolicyType.| Modifier and Type | Field and Description |
|---|---|
private String |
expectedDescription |
private int |
expectedNumCombinerParameters |
private int |
expectedNumRuleCombinerParameters |
private int |
expectedNumRules |
private int |
expectedNumVariableDefinitions |
private String |
expectedPolicyId |
private String |
expectedRuleCombinerParametersRuleIdRef |
private String |
expectedRuleCombiningAlgId |
private org.opensaml.xacml.policy.EffectType |
expectedRuleEffect |
private String |
expectedRuleRuleId |
private String |
expectedVariableDefinitionVariableId |
private String |
expectedVersion |
| Constructor and Description |
|---|
PolicyTest()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
testChildElementsMarshall() |
void |
testChildElementsUnmarshall() |
void |
testSingleElementMarshall() |
void |
testSingleElementOptionalAttributesMarshall() |
void |
testSingleElementOptionalAttributesUnmarshall() |
void |
testSingleElementUnmarshall() |
initXMLObjectProviderTestingSupprt, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshallassertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate final String expectedVersion
private final String expectedPolicyId
private final String expectedRuleCombiningAlgId
private final int expectedNumCombinerParameters
private final int expectedNumRuleCombinerParameters
private final int expectedNumVariableDefinitions
private final int expectedNumRules
private final String expectedDescription
private final String expectedRuleCombinerParametersRuleIdRef
private final String expectedVariableDefinitionVariableId
private final String expectedRuleRuleId
private final org.opensaml.xacml.policy.EffectType expectedRuleEffect
public void testSingleElementUnmarshall()
testSingleElementUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementMarshall()
testSingleElementMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testChildElementsUnmarshall()
testChildElementsUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testChildElementsMarshall()
testChildElementsMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementOptionalAttributesUnmarshall()
testSingleElementOptionalAttributesUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementOptionalAttributesMarshall()
testSingleElementOptionalAttributesMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCaseCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.