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

Manik Surtani msurtani at jboss.com
Thu Jul 20 04:05:18 EDT 2006


  User: msurtani
  Date: 06/07/20 04:05:18

  Modified:    tests/functional/org/jboss/cache/transaction 
                        IsolationLevelReadCommittedTest.java
  Log:
  Fixed some broken UTs to use the new xml parsers, cache factories, etc.
  
  Revision  Changes    Path
  1.6       +4 -4      JBossCache/tests/functional/org/jboss/cache/transaction/IsolationLevelReadCommittedTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: IsolationLevelReadCommittedTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/transaction/IsolationLevelReadCommittedTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- IsolationLevelReadCommittedTest.java	22 Feb 2006 17:04:45 -0000	1.5
  +++ IsolationLevelReadCommittedTest.java	20 Jul 2006 08:05:18 -0000	1.6
  @@ -23,7 +23,7 @@
    *
    * @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
    *
  - * @version $Id: IsolationLevelReadCommittedTest.java,v 1.5 2006/02/22 17:04:45 msurtani Exp $
  + * @version $Id: IsolationLevelReadCommittedTest.java,v 1.6 2006/07/20 08:05:18 msurtani Exp $
    */
   
   public class IsolationLevelReadCommittedTest extends TestCase
  @@ -50,9 +50,9 @@
         readerError = null;
         
         cache = new TreeCache();
  -      cache.setCacheMode(TreeCache.LOCAL);
  -      cache.setIsolationLevel(IsolationLevel.READ_COMMITTED);
  -      cache.setTransactionManagerLookupClass(DummyTransactionManagerLookup.class.getName());
  +      cache.getConfiguration().setCacheMode("LOCAL");
  +      cache.getConfiguration().setIsolationLevel(IsolationLevel.READ_COMMITTED);
  +      cache.getConfiguration().setTransactionManagerLookupClass(DummyTransactionManagerLookup.class.getName());
         cache.startService();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list