Class DEREncodedKeyValueTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.core.testing.XMLObjectProviderBaseTestCase
org.opensaml.xmlsec.signature.impl.DEREncodedKeyValueTest

public class DEREncodedKeyValueTest extends org.opensaml.core.testing.XMLObjectProviderBaseTestCase
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    private String
     

    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
    protected void
     
    void
    Test marshalling of attribute IDness.
    void
    void
    void
    void

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

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

    • expectedID

      private String expectedID
    • expectedStringContent

      private String expectedStringContent
  • Constructor Details

    • DEREncodedKeyValueTest

      public DEREncodedKeyValueTest()
      Constructor
  • Method Details

    • setUp

      @BeforeMethod protected void setUp() throws Exception
      Throws:
      Exception
    • testSingleElementUnmarshall

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

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

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

      public void testAttributeIDnessMarshall() throws MarshallingException, XMLParserException
      Test marshalling of attribute IDness.
      Throws:
      MarshallingException
      XMLParserException
    • testSingleElementOptionalAttributesMarshall

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