[EMAIL PROTECTED] wrote:
Author: rhillegas
Date: Thu Jun 1 13:51:32 2006
New Revision: 410945
URL: http://svn.apache.org/viewvc?rev=410945&view=rev
Log:
DERBY-942: Commit Kristian's derby-942-connectiontest-rewrite.diff, which
generalizes the connection test to run under XA also.
Actually, the ConnectionTest in its original form tested both the
regular connection, the XA connection and the pooled connection.
Now it only tests a regular connection by default. If you set the
derbyTesting.xa.single=true, it will test the XA connection, which
happens to be the same as the pooled connection. Subclassing was used
when the test was written, because the xa property was not available
back then.
Just wanted to make this clear, as the commit message can be misunderstood.
--
Kristian
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/jdbcxa40.runall
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java
[ snip - the diff]