[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/buddyreplication ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 06:31:21 EDT 2006
User: msurtani
Date: 06/07/20 06:31:21
Modified: tests/functional/org/jboss/cache/buddyreplication
BuddyAssignmentStateTransferTest.java
Log:
Fixed some broken UTs to use the new xml parsers, cache factories, etc.
Revision Changes Path
1.7 +8 -8 JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyAssignmentStateTransferTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BuddyAssignmentStateTransferTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyAssignmentStateTransferTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- BuddyAssignmentStateTransferTest.java 25 May 2006 09:56:12 -0000 1.6
+++ BuddyAssignmentStateTransferTest.java 20 Jul 2006 10:31:21 -0000 1.7
@@ -80,12 +80,12 @@
caches[0] = createCache(1, "TEST", false, false);
caches[1] = createCache(1, "TEST", false, false);
caches[2] = createCache(1, "TEST", false, false);
- caches[0].setInactiveOnStartup(true);
- caches[1].setInactiveOnStartup(true);
- caches[2].setInactiveOnStartup(true);
- caches[0].setUseRegionBasedMarshalling(true);
- caches[1].setUseRegionBasedMarshalling(true);
- caches[2].setUseRegionBasedMarshalling(true);
+ caches[0].getConfiguration().setInactiveOnStartup(true);
+ caches[1].getConfiguration().setInactiveOnStartup(true);
+ caches[2].getConfiguration().setInactiveOnStartup(true);
+ caches[0].getConfiguration().setUseRegionBasedMarshalling(true);
+ caches[1].getConfiguration().setUseRegionBasedMarshalling(true);
+ caches[2].getConfiguration().setUseRegionBasedMarshalling(true);
caches[0].startService();
caches[1].startService();
caches[2].startService();
@@ -142,7 +142,7 @@
try
{
caches[0] = createCacheWithCacheLoader(tmpLoc0, false, false, false, true, false);
- caches[0].setFetchInMemoryState(false);
+ caches[0].getConfiguration().setFetchInMemoryState(false);
caches[0].startService();
@@ -150,7 +150,7 @@
caches[0].put(main, "name", "Joe");
caches[1] = createCacheWithCacheLoader(tmpLoc1, false, false, false, true, false);
- caches[1].setFetchInMemoryState(false);
+ caches[1].getConfiguration().setFetchInMemoryState(false);
caches[1].startService();
More information about the jboss-cvs-commits
mailing list