Class AttributeTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.core.testing.XMLObjectProviderBaseTestCase
org.opensaml.xacml.ctx.impl.AttributeTest

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

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

    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

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

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

    • expectedAttributeId

      private String expectedAttributeId
    • expectedDataType

      private String expectedDataType
    • expectedIssuer

      private String expectedIssuer
    • expectedNumAttributeValues

      private int expectedNumAttributeValues
  • Constructor Details

    • AttributeTest

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