org.kuali.rice.krad.uif
Class UifBeanFactoryPostProcessorTest
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.uif.UifBeanFactoryPostProcessorTest
- All Implemented Interfaces:
- MethodAware
@TestDictionaryConfig(namespaceCode="KR-NS",
dataDictionaryFiles="classpath:org/kuali/rice/krad/uif/UifBeanFactoryPostProcessorTestBeans.xml")
public class UifBeanFactoryPostProcessorTest
- extends KRADTestCase
Test methods for the UifBeanFactoryPostProcessor
class
- 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 |
UifBeanFactoryPostProcessorTest
public UifBeanFactoryPostProcessorTest()
testOverrideOfNestedBeanExpression
public void testOverrideOfNestedBeanExpression()
throws Exception
- Verifies overriding of a property that exists in the parent bean definition as an expression on
a nested bean
For example, suppose our parent bean has a nested bean named 'nestedBean' with property foo, that has
an expression value. The child bean then sets the property 'nestedBean.foo' to a value. We need to
verify the expression is removed from the nested parent bean
- Throws:
Exception
testMergingOfMapExpressions
public void testMergingOfMapExpressions()
throws Exception
- Tests merging of maps when the map entries contain expressions
- Throws:
Exception
testNonMergingOfMapExpressions
public void testNonMergingOfMapExpressions()
throws Exception
- Tests non merging of maps when the map entries contain expressions
- Throws:
Exception
testNestedListExpressions
public void testNestedListExpressions()
throws Exception
- Tests merging of maps where the child bean is nested within a list
TODO: this test is currently failing due to spring support of nested map merging
- Throws:
Exception
testListExpressions
public void testListExpressions()
throws Exception
- Tests list property types with expressions, including non-inheritance, inheritance with and without merging
- Throws:
Exception
testNestedListMerging
public void testNestedListMerging()
throws Exception
- TODO: this test is currently failing due to spring support of nested merging
- Throws:
Exception
testPostProcessBeanFactoryWithSimpleInheritanceSucceeds
public void testPostProcessBeanFactoryWithSimpleInheritanceSucceeds()
throws Exception
- Tests the postProcessBeanFactory method using beans with simple inheritance
- Throws:
Exception
testPostProcessBeanFactoryWithSimpleNestingSucceeds
public void testPostProcessBeanFactoryWithSimpleNestingSucceeds()
throws Exception
- Tests the postProcessBeanFactory method using beans with inheritance and nested properties
- Throws:
Exception
testBeanDefinitionNaming
public void testBeanDefinitionNaming()
- Tests that nested bean definitions are processed ok since the bean name is derived from the class attribute
and bean names that exist in the processed beans map are skipped
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.