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

Elias Ross genman at noderunner.net
Sun Nov 19 22:53:57 EST 2006


  User: genman  
  Date: 06/11/19 22:53:57

  Modified:    tests/functional/org/jboss/cache/statetransfer 
                        StateTransfer200Test.java
  Log:
  JBCACHE-867, Move methods from the ProxyImpl to Node, refactor Node classes as well
  
  Revision  Changes    Path
  1.10      +3 -2      JBossCache/tests/functional/org/jboss/cache/statetransfer/StateTransfer200Test.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: StateTransfer200Test.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/statetransfer/StateTransfer200Test.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- StateTransfer200Test.java	25 Oct 2006 04:50:19 -0000	1.9
  +++ StateTransfer200Test.java	20 Nov 2006 03:53:57 -0000	1.10
  @@ -10,6 +10,7 @@
   import org.jboss.cache.CacheSPI;
   import org.jboss.cache.DataNode;
   import org.jboss.cache.Fqn;
  +import org.jboss.cache.Node;
   import org.jboss.cache.TreeCacheProxyImpl;
   import org.jboss.cache.buddyreplication.BuddyManager;
   import org.jboss.cache.config.BuddyReplicationConfig;
  @@ -25,7 +26,7 @@
    * Tests that state transfer works properly if the version is 2.0.0.GA.
    *
    * @author <a href="mailto://brian.stansberry@jboss.com">Brian Stansberry</a>
  - * @version $Revision: 1.9 $
  + * @version $Revision: 1.10 $
    */
   public class StateTransfer200Test extends VersionedTestBase
   {
  @@ -75,7 +76,7 @@
         cache1.getInvocationContext().getOptionOverrides().setCacheModeLocal(true);
         cache1.put(backup, null);
   
  -      DataNode target = ((TreeCacheProxyImpl) cache1).peek(backup);
  +      Node target = cache1.peek(backup);
   
         assertNotNull("Data Node should not be null", target);
   
  
  
  



More information about the jboss-cvs-commits mailing list