[jboss-svn-commits] JBL Code SVN: r29726 - labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/resources.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Oct 21 09:19:15 EDT 2009
Author: whitingjr
Date: 2009-10-21 09:19:15 -0400 (Wed, 21 Oct 2009)
New Revision: 29726
Modified:
labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/resources/testsuite-integration-ejb3.xml
Log:
Updated configuration.
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/resources/testsuite-integration-ejb3.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/resources/testsuite-integration-ejb3.xml 2009-10-21 13:07:35 UTC (rev 29725)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/resources/testsuite-integration-ejb3.xml 2009-10-21 13:19:15 UTC (rev 29726)
@@ -2,36 +2,45 @@
<suite name="CaveatEmptor Integration" verbose="2">
- <!-- Our datasource definition for the embedded EJB 3.0 container -->
- <parameter name="deploy_beans_xml" value="META-INF/caveatemptor-beans.xml"/>
+ <!-- Our datasource definition for the embedded EJB 3.0 container -->
+ <parameter name="deploy_beans_xml" value="META-INF/caveatemptor-beans.xml" />
- <!-- Location to scan for META-INF/persistence.xml and @Entity classes
- (must be in java.class.path, can be several paths comma separated,
- all regular slashes are automatically replaced with Windows file separators!) -->
- <parameter name="scan_classpath" value="build/classes"/>
+ <!--
+ Location to scan for META-INF/persistence.xml and @Entity classes
+ (must be in java.class.path, can be several paths comma separated, all
+ regular slashes are automatically replaced with Windows file
+ separators!)
+ -->
+ <parameter name="scan_classpath" value="build/classes" />
- <!-- DBUnit needs a database connection -->
- <parameter name="jndi_datasource" value="java:/caveatemptorTestingDatasource"/>
+ <!-- DBUnit needs a database connection -->
+ <parameter name="jndi_datasource" value="java:/caveatemptorTestingDatasource" />
- <!-- How do we get an EntityManagerFactory from JNDI in tests? -->
- <parameter name="jndi_name_emf" value="java:/EntityManagerFactories/caveatEmptorEMF"/>
+ <!-- How do we get an EntityManagerFactory from JNDI in tests? -->
+ <parameter name="jndi_name_emf"
+ value="java:/EntityManagerFactories/caveatEmptorEMF" />
- <!-- How do we get a JTA UserTransaction from JNDI in tests? -->
- <parameter name="jndi_name_usertx" value="UserTransaction"/>
+ <!-- How do we get a JTA UserTransaction from JNDI in tests? -->
+ <parameter name="jndi_name_usertx" value="UserTransaction" />
- <test name="Integration JPA">
- <groups>
- <run><include name="integration-persistence.*"/></run>
- </groups>
- <classes>
- <class name="auction.test.basic.PersistentStateTransitions"/>
- </classes>
- <!-- Or scan the whole package
- <packages>
- <package name="auction.test.basic"/>
- </packages>
- -->
- </test>
+ <!-- Database dataset location for DBUnit -->
+ <parameter name="basedata_location" value="basedata.xml" />
+ <test name="Integration JPA">
+ <groups>
+ <define name="profiled-integration-persistence">
+ <include name="integration-persistence" />
+ </define>
+
+ <run>
+ <include name="profiled-integration-persistence" />
+ </run>
+ </groups>
+
+ <classes>
+ <class name="auction.test.basic.ProfiledStateTransitions" />
+ </classes>
+ </test>
+
</suite>
More information about the jboss-svn-commits
mailing list