@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.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 |
|---|
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, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, 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 ExtensionAttributeTest()
public void testExtensionAttributeType() throws Exception
Exceptionpublic void testObjectUtils_getPropertyType() throws Exception
Exceptionpublic void testBOMetaDataService() throws Exception
Exceptionpublic void testQuickFinder() throws Exception
Exceptionpublic void testExistenceChecks() throws Exception
The values given for attributes that are foreign keys should represent existing objects when auto-update is set to false
ExceptionCopyright © 2005–2014 The Kuali Foundation. All rights reserved.