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

Brian Stansberry brian.stansberry at jboss.com
Fri Nov 3 16:22:17 EST 2006


  User: bstansberry
  Date: 06/11/03 16:22:17

  Added:       tests/functional/org/jboss/cache/multiplexer  Tag:
                        Branch_JBossCache_1_4_0
                        BuddyAssignmentStateTransferTest.java
  Log:
  Test buddy assignment with the mux
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +37 -0     JBossCache/tests/functional/org/jboss/cache/multiplexer/Attic/BuddyAssignmentStateTransferTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BuddyAssignmentStateTransferTest.java
  ===================================================================
  RCS file: BuddyAssignmentStateTransferTest.java
  diff -N BuddyAssignmentStateTransferTest.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ BuddyAssignmentStateTransferTest.java	3 Nov 2006 21:22:17 -0000	1.1.2.1
  @@ -0,0 +1,37 @@
  +package org.jboss.cache.multiplexer;
  +
  +import org.jboss.cache.TreeCacheMBean;
  +import org.jboss.cache.statetransfer.StateTransfer140Test;
  +
  +public class BuddyAssignmentStateTransferTest 
  +   extends org.jboss.cache.buddyreplication.BuddyAssignmentStateTransferTest
  +{
  +   private MultiplexerTestHelper muxHelper;
  +   
  +   protected void setUp() throws Exception
  +   {
  +      muxHelper = new MultiplexerTestHelper();
  +      
  +      super.setUp();
  +   }
  +
  +   protected void tearDown() throws Exception
  +   {
  +      try
  +      {
  +         super.tearDown();
  +      }
  +      finally
  +      {
  +         if (muxHelper != null)
  +            muxHelper.tearDown();
  +         muxHelper = null;
  +      }
  +   }
  +
  +   protected void configureMultiplexer(TreeCacheMBean cache) throws Exception
  +   {
  +      muxHelper.configureCacheForMux(cache);
  +   }
  +   
  +}
  
  
  



More information about the jboss-cvs-commits mailing list