@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
InactivateableFromToService
KRADTestCase.BootstrapTest, KRADTestCase.Legacy
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dd, kradTestHarnessSpringResourceLoader
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, 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, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContext
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public InactivateableFromToServiceTest()
protected <T> Collection<T> findCollectionBySearchUnbounded(Class<T> clazz, Map<String,String> formProps)
protected InactivateableFromToService getInactivateableFromToService()
public void testFindMatchingActive() throws Exception
Exception
InactivateableFromToService.findMatchingActive(Class, Map)
public void testFindMatchingActive_inactive() throws Exception
Exception
public void testFindMatchingActive_nullBeginDate() throws Exception
Exception
InactivateableFromToService.findMatchingActive(Class, Map)
public void testFindMatchingActive_nullEndDate() throws Exception
Exception
InactivateableFromToService.findMatchingActive(Class, Map)
public void testFindMatchingActive_nullBeginEndDate() throws Exception
Exception
InactivateableFromToService.findMatchingActive(Class, Map)
public void testFilterOutNonActive() throws Exception
Exception
InactivateableFromToService.filterOutNonActive(List)
public void testFindMatchingCurrent() throws Exception
Exception
InactivateableFromToService.findMatchingCurrent(Class, Map)
public void testFindMatchingNonCurrent() throws Exception
Exception
InactivateableFromToService.findMatchingCurrent(Class, Map)
public void testFilterOutNonCurrent() throws Exception
Exception
InactivateableFromToService.filterOutNonCurrent(List)
protected TravelAccountUseRate constructUseRate(String id, String number, String fromDate, String toDate) throws Exception
Exception
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.