@UnitTest public class CXmlDateUtilTest extends java.lang.Object
CXmlDateUtil.| Constructor and Description |
|---|
CXmlDateUtilTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Sets a pre-defined time zone for the
CXmlDateUtil. |
void |
testFormatDate()
Tests that the output of a formatted date is the expected ISO 8601 string.
|
void |
testParseIncorrectString()
Tests that parsing a wrong date string not in accordance with the ISO 8601 format fails.
|
void |
testParseStringHappyCase()
Tests that parsing a date is correct when it is in the correct ISO 8601 format.
|
public void setUp()
CXmlDateUtil.public void testParseStringHappyCase()
throws java.lang.Exception
java.lang.Exceptionpublic void testParseIncorrectString()
throws java.lang.Exception
java.lang.Exceptionpublic void testFormatDate()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.