Package org.opensaml.core.xml
Class UnmarshallingTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.xml.UnmarshallingTest
-
public class UnmarshallingTest extends XMLObjectBaseTestCase
Unit test for unmarshalling functions.
-
-
Field Summary
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description UnmarshallingTest()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestUnmarshallingWithAttributes()Tests unmarshalling an element that has attributes.voidtestUnmarshallingWithChildElements()Tests unmarshalling an element with child elements.voidtestUnmarshallingWithElementContent()Tests unmarshalling an element with content.-
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
-
-
-
-
Method Detail
-
testUnmarshallingWithAttributes
public void testUnmarshallingWithAttributes() throws XMLParserException, UnmarshallingExceptionTests unmarshalling an element that has attributes.- Throws:
XMLParserException- ...UnmarshallingException- ...
-
testUnmarshallingWithElementContent
public void testUnmarshallingWithElementContent() throws XMLParserException, UnmarshallingExceptionTests unmarshalling an element with content.- Throws:
XMLParserException- ...UnmarshallingException- ...
-
testUnmarshallingWithChildElements
public void testUnmarshallingWithChildElements() throws XMLParserException, UnmarshallingExceptionTests unmarshalling an element with child elements.- Throws:
XMLParserException- ...UnmarshallingException- ...
-
-