I've just 'upgraded' my BaseControllerTestCase to the latest 1.9.x version that now extends AbstractTransactionalDataSourceSpringContextTests. I made the change so that I could rollback transactions easily and test lazy-loading.
There is a method : protected ConfigurableApplicationContext loadContextLocations(String[] Locations) which returns a new XMLWebApplicationContext with a MockServletContext set. So far, I have not had to use this method and am grabbing my beans from the default applicationContext property from the parent Class. I am interested to know when it is appropriate to use this method and how the returned context should be used with (or instead of) the default applicationContext. Thanks for listening. Cyril. -- View this message in context: http://www.nabble.com/Question-regarding-use-of-loadContextLocations%28String---locations%29-in-BaseControllerTestCase-tf4731786s2369.html#a13530067 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]