Module: test-support
Version: 0.9.2-m2
Right now the DataSetTestExecutionListener only supports one DataSource in the
entire application context. There are cases where more than one DataSources are
defined in the context.
For instance I am working on a DataArchiving application and in the unit tests
I have to define two datasources (the data is archived/moved from one
datasource to another).
I have attached a simple patch that allows the said funtionality. If more than
one datasource bean is found in the application context the code prefers the
datasource names as "DataSource". Otherwise the first datasource found is used
for populating the dataset.
Original issue reported on code.google.com by faisalferoz@gmail.com on 21 Jul 2010 at 2:07
Original issue reported on code.google.com by
faisalferoz@gmail.com
on 21 Jul 2010 at 2:07Attachments: