[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/transaction ...

Manik Surtani msurtani at jboss.com
Fri Dec 8 08:18:15 EST 2006


  User: msurtani
  Date: 06/12/08 08:18:15

  Modified:    tests/functional/org/jboss/cache/transaction  Tag:
                        Branch_JBossCache_1_4_0 SuspendTxTest.java
  Log:
  Fixed broken test
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +6 -2      JBossCache/tests/functional/org/jboss/cache/transaction/SuspendTxTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SuspendTxTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/transaction/SuspendTxTest.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -b -r1.1.2.2 -r1.1.2.3
  --- SuspendTxTest.java	11 Oct 2006 13:49:25 -0000	1.1.2.2
  +++ SuspendTxTest.java	8 Dec 2006 13:18:15 -0000	1.1.2.3
  @@ -3,10 +3,9 @@
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  -import org.jboss.cache.TreeCache;
   import org.jboss.cache.Fqn;
  +import org.jboss.cache.TreeCache;
   import org.jboss.cache.config.Option;
  -import org.jboss.cache.transaction.DummyTransactionManager;
   
   import javax.transaction.Transaction;
   import javax.transaction.TransactionManager;
  @@ -46,6 +45,11 @@
       * from the transaction.
       */
      public void testSuspendedLocks() throws Exception {
  +
  +      // create /one first
  +      cache.put("/one", null);
  +      cache.put("/a", null);
  +
         mgr.begin();
   	   
         cache.put("/one/two", "key1", "val1");
  
  
  



More information about the jboss-cvs-commits mailing list