org.kuali.rice.krad.service
Class DateTimeServiceTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.test.KRADTestCase
org.kuali.rice.krad.service.DateTimeServiceTest
- All Implemented Interfaces:
- MethodAware
public class DateTimeServiceTest
- extends KRADTestCase
This class tests the DateTime service.
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeServiceTest
public DateTimeServiceTest()
testGetCurrentDate
public void testGetCurrentDate()
testGetCurrentSqlDate
public void testGetCurrentSqlDate()
testGetCurrentSqlDateMidnight
public void testGetCurrentSqlDateMidnight()
throws InterruptedException
- Throws:
InterruptedException
testGetCurrentCalendar
public void testGetCurrentCalendar()
testConvertToSqlTimestamp_blankTimeString
public void testConvertToSqlTimestamp_blankTimeString()
throws ParseException
- Throws:
ParseException
testConvertToSqlTimestamp_invalidTimeString
public void testConvertToSqlTimestamp_invalidTimeString()
testConvertToSqlTimestamp_validTimeString
public void testConvertToSqlTimestamp_validTimeString()
throws ParseException
- Throws:
ParseException
testConvertToSqlDate_blankDateString
public void testConvertToSqlDate_blankDateString()
throws ParseException
- Throws:
ParseException
testConvertToSqlDate_invalidDateString
public void testConvertToSqlDate_invalidDateString()
testConvertToSqlDate_validDateString
public void testConvertToSqlDate_validDateString()
throws ParseException
- Throws:
ParseException
testDateDiff
public void testDateDiff()
throws ParseException
- Throws:
ParseException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.