Affects Version/s: 220.127.116.11
Fix Version/s: 2.2.3
Spring has a great concept that you can load the xml configuration and define beans with the same name multiple times and the convention is that the lasr definition takes precedence. This is great for testing as we usually load the normal (production) application context xml then load a test application context xml which just overides the beans that need to be changed for that test.
Currently the StrutsSpringTestCase does not support defining multiple application context xml files for a test. I rewrote the class so that the method protected String getContextLocations() is now protected String getContextLocations(). We can now load multiple application context xml files.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Assignee||Lukasz Lenart [ lukaszlenart ]|
|Fix Version/s||2.2.2 [ 12315200 ]|
|Resolution||Fixed [ 1 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|150d 17h 2m||1||Lukasz Lenart||17/Sep/10 06:46|