@TestDictionaryConfig(namespaceCode="KR-NS", dataDictionaryFiles="classpath:org/kuali/rice/krad/uif/UifBeanFactoryPostProcessorTestBeans.xml") public class UifBeanFactoryPostProcessorTest extends KRADTestCase
UifBeanFactoryPostProcessor classKRADTestCase.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 |
|---|
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, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, 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 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
Exceptionpublic void testMergingOfMapExpressions() throws Exception
Exceptionpublic void testNonMergingOfMapExpressions() throws Exception
Exceptionpublic void testNestedListExpressions() throws Exception
Exceptionpublic void testListExpressions() throws Exception
Exceptionpublic void testNestedListMerging() throws Exception
Exceptionpublic void testPostProcessBeanFactoryWithSimpleInheritanceSucceeds() throws Exception
Exceptionpublic void testPostProcessBeanFactoryWithSimpleNestingSucceeds() throws Exception
Exceptionpublic void testBeanDefinitionNaming()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.