@TestDictionaryConfig(namespaceCode="KR-NS", dataDictionaryFiles="classpath:org/kuali/rice/krad/uif/UifBeanFactoryPostProcessorTestBeans.xml") public class UifBeanFactoryPostProcessorTest extends KRADTestCase
UifBeanFactoryPostProcessor
classKRADTestCase.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 |
---|
UifBeanFactoryPostProcessorTest() |
Modifier and Type | Method and Description |
---|---|
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
|
void |
testListExpressions()
Tests list property types with expressions, including non-inheritance, inheritance with and without merging
|
void |
testMergingOfMapExpressions()
Tests merging of maps when the map entries contain expressions
|
void |
testNestedListExpressions()
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
|
void |
testNestedListMerging()
TODO: this test is currently failing due to spring support of nested merging
|
void |
testNonMergingOfMapExpressions()
Tests non merging of maps when the map entries contain expressions
|
void |
testOverrideOfNestedBeanExpression()
Verifies overriding of a property that exists in the parent bean definition as an expression on
a nested bean
|
void |
testPostProcessBeanFactoryWithSimpleInheritanceSucceeds()
Tests the postProcessBeanFactory method using beans with simple inheritance
|
void |
testPostProcessBeanFactoryWithSimpleNestingSucceeds()
Tests the postProcessBeanFactory method using beans with inheritance and nested properties
|
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 UifBeanFactoryPostProcessorTest()
public void testOverrideOfNestedBeanExpression() throws Exception
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
Exception
public void testMergingOfMapExpressions() throws Exception
Exception
public void testNonMergingOfMapExpressions() throws Exception
Exception
public void testNestedListExpressions() throws Exception
Exception
public void testListExpressions() throws Exception
Exception
public void testNestedListMerging() throws Exception
Exception
public void testPostProcessBeanFactoryWithSimpleInheritanceSucceeds() throws Exception
Exception
public void testPostProcessBeanFactoryWithSimpleNestingSucceeds() throws Exception
Exception
public void testBeanDefinitionNaming()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.