[jboss-svn-commits] JBL Code SVN: r35460 - in labs/jbosstm/trunk/ArjunaJTS/jts: tests/classes/com/hp/mwtests/ts/jts/orbspecific/recovery and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Oct 8 06:16:18 EDT 2010
Author: jhalliday
Date: 2010-10-08 06:16:17 -0400 (Fri, 08 Oct 2010)
New Revision: 35460
Modified:
labs/jbosstm/trunk/ArjunaJTS/jts/build.xml
labs/jbosstm/trunk/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/recovery/RecoveryEnablementUnitTest.java
Log:
Recovery orb setup exception handling improvements. JBTM-797
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/build.xml 2010-10-07 21:23:24 UTC (rev 35459)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/build.xml 2010-10-08 10:16:17 UTC (rev 35460)
@@ -100,10 +100,24 @@
<exclude name="**/remote/**"/>
<exclude name="**/DefaultTimeout.java"/>
+
+ <exclude name="**/RecoveryEnablementUnitTest.java"/>
</fileset>
</tests>
</run.tests.macro>
+ <run.tests.macro>
+ <additional.classpath>
+ <path refid="jacorb.classpath"/>
+ </additional.classpath>
+ <tests>
+ <fileset dir="tests/classes">
+ <!-- on its own as needs custom orb config -->
+ <include name="**/RecoveryEnablementUnitTest.java"/>
+ </fileset>
+ </tests>
+ </run.tests.macro>
+
<emma.report.macro/>
</target>
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/recovery/RecoveryEnablementUnitTest.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/recovery/RecoveryEnablementUnitTest.java 2010-10-07 21:23:24 UTC (rev 35459)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/recovery/RecoveryEnablementUnitTest.java 2010-10-08 10:16:17 UTC (rev 35460)
@@ -31,6 +31,7 @@
package com.hp.mwtests.ts.jts.orbspecific.recovery;
+import org.junit.BeforeClass;
import org.junit.Test;
import com.arjuna.ats.internal.jts.orbspecific.recovery.RecoveryEnablement;
@@ -40,6 +41,13 @@
public class RecoveryEnablementUnitTest extends TestBase
{
+ @BeforeClass
+ public static void setupClass() {
+ // persistent POAs can't be anonymous, need a name:
+ System.setProperty("jacorb.implname", "arjuna");
+ }
+
+
@Test
public void test () throws Exception
{
More information about the jboss-svn-commits
mailing list