@TestDictionaryConfig(namespaceCode="KR-NS", dataDictionaryFiles="classpath:org/kuali/rice/krad/test/document") public class ExtensionAttributeTest extends KRADTestCase
PersistableBusinessObject.getExtension()
works as expected
When running this test, the working directory should be set to two levels down from the root of the project e.g. it/krad
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 |
---|
ExtensionAttributeTest() |
Modifier and Type | Method and Description |
---|---|
void |
testBOMetaDataService() |
void |
testExistenceChecks()
tests validation on the extension attribute
// TODO: test is currently failing because default existence checks are not implemented in KRAD
// see https://jira.kuali.org/browse/KULRICE-7666
|
void |
testExtensionAttributeType() |
void |
testObjectUtils_getPropertyType() |
void |
testQuickFinder() |
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 ExtensionAttributeTest()
public void testExtensionAttributeType() throws Exception
Exception
public void testObjectUtils_getPropertyType() throws Exception
Exception
public void testBOMetaDataService() throws Exception
Exception
public void testQuickFinder() throws Exception
Exception
public void testExistenceChecks() throws Exception
The values given for attributes that are foreign keys should represent existing objects when auto-update is set to false
Exception
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.