[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/multiplexer ...
Brian Stansberry
brian.stansberry at jboss.com
Fri Nov 3 13:56:22 EST 2006
User: bstansberry
Date: 06/11/03 13:56:22
Added: tests/functional/org/jboss/cache/multiplexer Tag:
Branch_JBossCache_1_4_0 StateTransferTest.java
Log:
Test state transfer with mux enabled
Revision Changes Path
No revision
No revision
1.1.2.1 +35 -0 JBossCache/tests/functional/org/jboss/cache/multiplexer/Attic/StateTransferTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: StateTransferTest.java
===================================================================
RCS file: StateTransferTest.java
diff -N StateTransferTest.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ StateTransferTest.java 3 Nov 2006 18:56:22 -0000 1.1.2.1
@@ -0,0 +1,35 @@
+package org.jboss.cache.multiplexer;
+
+import org.jboss.cache.TreeCacheMBean;
+import org.jboss.cache.statetransfer.StateTransfer140Test;
+
+public class StateTransferTest extends StateTransfer140Test
+{
+ 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();
+ }
+ }
+
+ protected void configureMultiplexer(TreeCacheMBean cache) throws Exception
+ {
+ muxHelper.configureCacheForMux(cache);
+ }
+
+}
More information about the jboss-cvs-commits
mailing list