Hi,

I am writing a JUnit test and need to get access to DataSource,
XADataSource and ConnectionPoolDataSource. My plan is to add
get*DataSource() methods to BaseJDBCTestCase, for instance:

  - getDataSource(Properties attrs) which just invokes
    TestUtil.getDataSource(Properties)

  - getDataSource() which returns a DataSource with host/port/database
    set to default values specified by the test harness

  - getXADataSource, getConnectionPoolDataSource following the same
    pattern

Does this plan sound OK?

-- 
Knut Anders

Reply via email to