Ok, attached is "jboss xa compatibility test, version 0.0 pre-alpha" :-)
Main test is org.jboss.tm.XATest. It is supposed to be resource-manager independent and uses two interfaces org.jboss.tm.test.ResourceManager and org.jboss.tm.test.XAConnection to access/test real resource managers. There is an implementation of these interfaces for JDBC and JMS. I have defined few basic tests as well as tests for bugs #590816 and #585632. Of course more tests are needed. Test is configured by property file which specifies what implementation of org.jboss.tm.test.ResourceManager to be used and configuration of the implementation itself. You can find example configuration for oracle, jbossmq and weblogic-jms. Hope this would be helpful. As usual, questions, comments and suggestions are welcome. -- Igor Fedorenko Think smart. Think automated. Think Dynamics. www.thinkdynamics.com Scott M Stark wrote: > Do it. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > ----- Original Message ----- > From: "Igor Fedorenko" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 08, 2002 9:06 AM > Subject: Re: [JBoss-dev] [ jboss-Bugs-590816 ] XAProto Errors on closed XA Resources > >>By the way, why do not we setup XA compatibility tests we can run >>against different resource managers? I see two types of tests -- tests >>that use XAResource directly and tests that check TransactionImpl. If >>this sounds reasonable I can try to write something we can start with.
jbossxatests.zip
Description: Zip compressed data