@PerTestUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlStatements=@UnitTestSql(value="delete from trv_acct_type"),sqlFiles=@UnitTestFile(filename="classpath:testAccountType.sql",delimiter=";")), tearDown=@UnitTestData(sqlStatements=@UnitTestSql(value="delete from trv_acct_type"))) public class PersistableBusinessObjectValuesFinderTest extends KRADTestCase
PersistableBusinessObjectValuesFinder
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 |
---|
PersistableBusinessObjectValuesFinderTest()
Default Constructor builds KeyValue Lists used for tests.
|
Modifier and Type | Method and Description |
---|---|
void |
testGetKeyValues()
tests to make sure the
PersistableBusinessObjectValuesFinder works
as expected for the TravelAccountType BO |
void |
testGetKeyValuesKeyInLabel()
tests to make sure the
PersistableBusinessObjectValuesFinder works
as expected for the TravelAccountType BO with the key included in the label |
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContext
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, 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 PersistableBusinessObjectValuesFinderTest()
public void testGetKeyValues() throws Exception
PersistableBusinessObjectValuesFinder
works
as expected for the TravelAccountType BOException
public void testGetKeyValuesKeyInLabel() throws Exception
PersistableBusinessObjectValuesFinder
works
as expected for the TravelAccountType BO with the key included in the labelException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.