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

Vladmir Blagojevic vladimir.blagojevic at jboss.com
Wed Jan 10 10:39:52 EST 2007


  User: vblagojevic
  Date: 07/01/10 10:39:52

  Modified:    tests/functional/org/jboss/cache/marshall  SyncReplTest.java
  Log:
  JBCACHE-840 (work in progress)
  
  Revision  Changes    Path
  1.15      +4 -2      JBossCache/tests/functional/org/jboss/cache/marshall/SyncReplTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SyncReplTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/SyncReplTest.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- SyncReplTest.java	30 Dec 2006 17:49:57 -0000	1.14
  +++ SyncReplTest.java	10 Jan 2007 15:39:52 -0000	1.15
  @@ -14,6 +14,8 @@
   import org.jboss.cache.CacheImpl;
   import org.jboss.cache.Fqn;
   import org.jboss.cache.config.Configuration;
  +import org.jboss.cache.config.Configuration.CacheMode;
  +import org.jboss.cache.factories.UnitTestCacheFactory;
   import org.jboss.cache.factories.XmlConfigurationParser;
   import org.jboss.cache.marshall.data.Address;
   import org.jboss.cache.marshall.data.Person;
  @@ -30,7 +32,7 @@
    * Test case for marshalling using Sync mode.
    *
    * @author Ben Wang
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
    */
   public class SyncReplTest extends RegionBasedMarshallingTestBase
   {
  @@ -65,7 +67,7 @@
         CacheImpl cache = new CacheImpl();
   
         XmlConfigurationParser parser = new XmlConfigurationParser();
  -      Configuration c = parser.parseFile("META-INF/replSync-service.xml");
  +      Configuration c = UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC);
         cache.setConfiguration(c);
   
         c.setClusterName(name);
  
  
  



More information about the jboss-cvs-commits mailing list