Package org.opensaml.core.xml.schema
Class XSStringTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.core.xml.schema.XSStringTest
-
public class XSStringTest extends XMLObjectBaseTestCase
Unit test forXSString
-
-
Field Summary
Fields Modifier and Type Field Description private StringexpectedValueprivate QNameexpectedXMLObjectQNameprivate StringtestDocumentLocation-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description XSStringTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestMarshall()Tests Marshalling a string type.voidtestUnmarshall()Tests Marshalling a string type.-
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
-
testMarshall
public void testMarshall() throws MarshallingException, XMLParserExceptionTests Marshalling a string type.- Throws:
MarshallingException- ...XMLParserException- ...
-
testUnmarshall
public void testUnmarshall() throws XMLParserException, UnmarshallingExceptionTests Marshalling a string type.- Throws:
XMLParserException- ...UnmarshallingException- ...
-
-