org.kuali.rice.krad.datadictionary
Class ExtensionAttributeTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.krad.test.KRADTestCase
org.kuali.rice.krad.datadictionary.ExtensionAttributeTest
- All Implemented Interfaces:
- MethodAware
@TestDictionaryConfig(namespaceCode="KR-NS",
dataDictionaryFiles="classpath:org/kuali/rice/krad/test/document")
public class ExtensionAttributeTest
- extends KRADTestCase
ExtensionAttributeTest tests that 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
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionAttributeTest
public ExtensionAttributeTest()
testExtensionAttributeType
public void testExtensionAttributeType()
throws Exception
- Throws:
Exception
testObjectUtils_getPropertyType
public void testObjectUtils_getPropertyType()
throws Exception
- Throws:
Exception
testBOMetaDataService
public void testBOMetaDataService()
throws Exception
- Throws:
Exception
testQuickFinder
public void testQuickFinder()
throws Exception
- Throws:
Exception
testExistenceChecks
public void testExistenceChecks()
throws Exception
- 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
The values given for attributes that are foreign keys should represent existing objects when auto-update is set to false
- Throws:
Exception
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.