@PerTestUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlStatements=@UnitTestSql(value="delete from trv_acct_use_rt_t"),sqlFiles=@UnitTestFile(filename="classpath:testAccountUseRate.sql",delimiter=";")), tearDown=@UnitTestData(sqlStatements=@UnitTestSql(value="delete from trv_acct_use_rt_t"))) public class InactivateableFromToServiceTest extends KRADTestCase
InactivateableFromToServiceKRADTestCase.BootstrapTest, KRADTestCase.LegacyBaselineTestCase.BaselineMode, BaselineTestCase.Modedd, kradTestHarnessSpringResourceLoaderdirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
InactivateableFromToServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected TravelAccountUseRate |
constructUseRate(String id,
String number,
String fromDate,
String toDate) |
protected <T> Collection<T> |
findCollectionBySearchUnbounded(Class<T> clazz,
Map<String,String> formProps) |
protected InactivateableFromToService |
getInactivateableFromToService() |
void |
testFilterOutNonActive()
Test for the filterOutNonActive method
|
void |
testFilterOutNonCurrent()
Test for the filterOutNonCurrent method
|
void |
testFindMatchingActive_inactive()
Test finding inactive records through LookupService
|
void |
testFindMatchingActive_nullBeginDate()
Test query results when begin date is null
|
void |
testFindMatchingActive_nullBeginEndDate()
Test query results when the begin and end date is null
|
void |
testFindMatchingActive_nullEndDate()
Test query results when end date is null
|
void |
testFindMatchingActive()
Test finding active records
|
void |
testFindMatchingCurrent()
Test finding current records through the findMatchingCurrent method
|
void |
testFindMatchingNonCurrent()
Test that finding non-current records is the same as finding active with current filtered
|
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecyclesgetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic InactivateableFromToServiceTest()
protected <T> Collection<T> findCollectionBySearchUnbounded(Class<T> clazz, Map<String,String> formProps)
protected InactivateableFromToService getInactivateableFromToService()
public void testFindMatchingActive() throws Exception
ExceptionInactivateableFromToService.findMatchingActive(Class, Map)public void testFindMatchingActive_inactive() throws Exception
Exceptionpublic void testFindMatchingActive_nullBeginDate() throws Exception
ExceptionInactivateableFromToService.findMatchingActive(Class, Map)public void testFindMatchingActive_nullEndDate() throws Exception
ExceptionInactivateableFromToService.findMatchingActive(Class, Map)public void testFindMatchingActive_nullBeginEndDate() throws Exception
ExceptionInactivateableFromToService.findMatchingActive(Class, Map)public void testFilterOutNonActive() throws Exception
ExceptionInactivateableFromToService.filterOutNonActive(List)public void testFindMatchingCurrent() throws Exception
ExceptionInactivateableFromToService.findMatchingCurrent(Class, Map)public void testFindMatchingNonCurrent() throws Exception
ExceptionInactivateableFromToService.findMatchingCurrent(Class, Map)public void testFilterOutNonCurrent() throws Exception
ExceptionInactivateableFromToService.filterOutNonCurrent(List)protected TravelAccountUseRate constructUseRate(String id, String number, String fromDate, String toDate) throws Exception
ExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.