Author: manik.surtani(a)jboss.com
Date: 2008-06-25 11:39:25 -0400 (Wed, 25 Jun 2008)
New Revision: 6040
Added:
core/trunk/src/test/java/org/jboss/cache/mvcc/
Modified:
core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java
core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java
core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java
Log:
Fixed broken tests
Modified: core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java 2008-06-25 15:34:48 UTC
(rev 6039)
+++ core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java 2008-06-25 15:39:25 UTC
(rev 6040)
@@ -136,7 +136,7 @@
{
InvocationContext ctx = c.getInvocationContext();
InvocationContext control;
- control = InvocationContext.copy(ctx);
+ control = ctx.copy();
control.reset();
control.setOptionOverrides(new Option());
Modified: core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java 2008-06-25 15:34:48
UTC (rev 6039)
+++ core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java 2008-06-25 15:39:25
UTC (rev 6040)
@@ -150,7 +150,7 @@
{
InvocationContext ctx = c.getInvocationContext();
InvocationContext control;
- control = InvocationContext.copy(ctx);
+ control = ctx.copy();
control.reset();
control.setOptionOverrides(new Option());
Modified: core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java 2008-06-25
15:34:48 UTC (rev 6039)
+++ core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java 2008-06-25
15:39:25 UTC (rev 6040)
@@ -142,7 +142,7 @@
{
InvocationContext ctx = c.getInvocationContext();
InvocationContext control;
- control = InvocationContext.copy(ctx);
+ control = ctx.copy();
control.reset();
control.setOptionOverrides(new Option());
Show replies by date