djencks     2004/12/11 00:03:33

  Modified:    modules/openejb-builder/src/test/org/openejb/transaction
                        ContainerPolicyTest.java
                        MockTransactionManager.java
  Log:

  commit the openejb changes I forgot yesterday when I removed 
GeronimoTransactionManager
  
  Revision  Changes    Path
  1.2       +2 -2      
openejb/modules/openejb-builder/src/test/org/openejb/transaction/ContainerPolicyTest.java
  
  Index: ContainerPolicyTest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/transaction/ContainerPolicyTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContainerPolicyTest.java  10 Nov 2004 01:35:13 -0000      1.1
  +++ ContainerPolicyTest.java  11 Dec 2004 05:03:33 -0000      1.2
  @@ -111,7 +111,7 @@
       protected void setUp() throws Exception {
           super.setUp();
           txnManager = new MockTransactionManager();
  -        transactionContextManager = new 
TransactionContextManager(txnManager, null, null);
  +        transactionContextManager = new 
TransactionContextManager(txnManager, null);
           interceptor = new MockInterceptor(transactionContextManager);
           invocation = new EJBInvocationImpl(EJBInterfaceType.LOCAL, 0, null);
       }
  
  
  
  1.2       +6 -1      
openejb/modules/openejb-builder/src/test/org/openejb/transaction/MockTransactionManager.java
  
  Index: MockTransactionManager.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/transaction/MockTransactionManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MockTransactionManager.java       10 Nov 2004 01:35:13 -0000      1.1
  +++ MockTransactionManager.java       11 Dec 2004 05:03:33 -0000      1.2
  @@ -47,6 +47,7 @@
    */
   package org.openejb.transaction;
   
  +import java.util.Map;
   import javax.transaction.HeuristicMixedException;
   import javax.transaction.HeuristicRollbackException;
   import javax.transaction.InvalidTransactionException;
  @@ -108,5 +109,9 @@
   
       public Transaction begin(long transactionTimeoutMilliseconds) throws 
NotSupportedException, SystemException {
           return transaction;
  +    }
  +
  +    public Map getExternalXids() {
  +        return null;
       }
   }
  
  
  

Reply via email to