Van,
This class is utility class, in most situations it is extended by a
another class to write the test.
If you are looking to to provide abstractions for connections you can
certainly/override the "getConnection" calls or add others. You can
refactor to suit the needs, I just wondering if that requires pushing
the functionality to a base class (as this is already functionally a
abstract class)?
Thanks
Ramesh..
On Thu, 2009-08-27 at 09:59 -0500, Van Halbert wrote:I would like to refactor AbstractMMQueryTestCase by pushing its corelogic further down (new base class) for executing queries, comparingresults, and common actions on the connection, etc. so that it canreused (extended) for any manner of tests that, in the end, use aConnection. Also, this core logic is basic to jdbc testing andtherefore would like to reuse this in the, soon to becoming,integration test project for testing transactions and running the ctctests. There was already a similar class, from whence it camefrom, in the JBEDSP integration test project. So I would toconsolidate this logic.Any comments, complaints, suggestions, please speak up. Otherwise Iwill commence with refactoring tomorrow.Van HalbertPrincipal Software Eng.Red Hat, Inc.------vhalbert@redhat.com_______________________________________________teiid-dev mailing listteiid-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/teiid-dev