public class XSDateTimeTest extends XMLObjectBaseTestCase
XSDateTime| Modifier and Type | Field and Description |
|---|---|
private DateTime |
expectedValue |
private QName |
expectedXMLObjectQName |
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory| Constructor and Description |
|---|
XSDateTimeTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testMarshall()
Tests Marshalling a dateTime type.
|
void |
testUnmarshall()
Tests Unmarshalling a dateTime type.
|
void |
testUnmarshallCanonical()
Tests Unmarshalling a dateTime type in canonical form, i.e.
|
void |
testUnmarshallNoFractional()
Tests Unmarshalling a dateTime type that has no fractional seconds.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementinitOpenSAMLprivate QName expectedXMLObjectQName
private DateTime expectedValue
public void testMarshall()
throws org.opensaml.core.xml.io.MarshallingException,
net.shibboleth.utilities.java.support.xml.XMLParserException
org.opensaml.core.xml.io.MarshallingExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionpublic void testUnmarshall()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallCanonical()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallNoFractional()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2015. All rights reserved.