org.kuali.rice.krad.service
Class DateTimeServiceTest
java.lang.Object
   org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.BaseRiceTestCase
       org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceTestCase
           org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
               org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaseModuleTestCase
                   org.kuali.rice.test.BaselineTestCase
org.kuali.rice.test.BaselineTestCase
                       org.kuali.rice.krad.test.KRADTestCase
org.kuali.rice.krad.test.KRADTestCase
                           org.kuali.rice.krad.service.DateTimeServiceTest
org.kuali.rice.krad.service.DateTimeServiceTest
- All Implemented Interfaces: 
- MethodAware
- public class DateTimeServiceTest 
- extends KRADTestCase
DateTimeServiceTest tests DateTimeService
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
| Methods inherited from class org.kuali.rice.test.RiceTestCase | 
| configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles | 
 
 
| 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()
- tests that DateTimeService returns a correct current date
 
- 
- See Also:
- DateTimeService.getCurrentDate()
 
testGetCurrentSqlDate
public void testGetCurrentSqlDate()
- tests that DateTimeService returns a correct current SQL date
 
- 
- See Also:
- DateTimeService.getCurrentSqlDate()
 
testGetCurrentSqlDateMidnight
public void testGetCurrentSqlDateMidnight()
                                   throws InterruptedException
- tests DateTimeService.getCurrentSqlDateMidnight()
 
- 
- Throws:
- InterruptedException
 
testGetCurrentCalendar
public void testGetCurrentCalendar()
- tests DateTimeService.getCurrentCalendar()
 
- 
 
testConvertToSqlTimestamp_blankTimeString
public void testConvertToSqlTimestamp_blankTimeString()
                                               throws ParseException
- tests DateTimeService.convertToSqlTimestamp(String)with a null value
 
- 
- Throws:
- ParseException
 
testConvertToSqlTimestamp_invalidTimeString
public void testConvertToSqlTimestamp_invalidTimeString()
- tests DateTimeService.convertToSqlTimestamp(String)with an invalid time value
 
- 
 
testConvertToSqlTimestamp_validTimeString
public void testConvertToSqlTimestamp_validTimeString()
                                               throws ParseException
- tests DateTimeService.convertToSqlTimestamp(String)with a valid time string
 
- 
- Throws:
- ParseException
 
testConvertToSqlDate_blankDateString
public void testConvertToSqlDate_blankDateString()
                                          throws ParseException
- tests DateTimeService.convertToSqlDate(String)with a blank value
 
- 
- Throws:
- ParseException
 
testConvertToSqlDate_invalidDateString
public void testConvertToSqlDate_invalidDateString()
- tests DateTimeService.convertToSqlDate(String)with an invalid date string
 
- 
 
testConvertToSqlDate_validDateString
public void testConvertToSqlDate_validDateString()
                                          throws ParseException
- tests DateTimeService.convertToSqlDate(String)with a valid date string
 
- 
- Throws:
- ParseException
 
testDateDiff
public void testDateDiff()
                  throws ParseException
- tests DateTimeService.dateDiff(java.util.Date, java.util.Date, boolean)
 
- 
- Throws:
- ParseException
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.