[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Tue Oct 31 06:07:17 EST 2006
User: bwang
Date: 06/10/31 06:07:17
Modified: tests-50/functional/org/jboss/cache/pojo
ReplicatedObjectGraphTest.java
ReplicatedByteTest.java LocalTest.java
NonAspectizedTest.java NewReplicatedTest.java
ObjectGraphTest.java ReplicatedTxTest.java
ReplicatedPutWithBulkRemoveTest.java
NewReplicatedTxTest.java NewLocalTest.java
ArrayTest.java CircularGraphTest.java
TxUndoTest.java ReplicatedSerializableTest.java
LocalTxTest.java ReplicatedNonSerializableTest.java
ReplicatedTest.java
ReplicatedCircularGraphTest.java
RecursiveRefTest.java LocalConcurrentTest.java
Log:
Refactored to be consistent with Cache factory method name.
Revision Changes Path
1.6 +1 -6 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedObjectGraphTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedObjectGraphTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedObjectGraphTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- ReplicatedObjectGraphTest.java 8 Sep 2006 07:55:59 -0000 1.5
+++ ReplicatedObjectGraphTest.java 31 Oct 2006 11:07:17 -0000 1.6
@@ -6,13 +6,8 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.pojo.test.Address;
-import org.jboss.cache.pojo.test.Link;
-import org.jboss.cache.pojo.test.NodeManager;
import org.jboss.cache.pojo.test.Person;
-import java.util.ArrayList;
-import java.util.List;
-
/**
* Test object graph handling in aop, e.g., circular reference, multiple reference, link, etc.
*
@@ -49,7 +44,7 @@
private PojoCache createCache(String name) throws Exception
{
boolean toStart = false;
- PojoCache tree = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ PojoCache tree = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
tree.start();
return tree;
}
1.2 +2 -4 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedByteTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedByteTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedByteTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedByteTest.java 31 Oct 2006 04:33:55 -0000 1.1
+++ ReplicatedByteTest.java 31 Oct 2006 11:07:17 -0000 1.2
@@ -29,8 +29,6 @@
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.pojo.test.Resource;
-import java.util.List;
-
/**
* Replicate POJO with byte array field.
*
@@ -53,9 +51,9 @@
log.info("setUp() ....");
String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- cache = PojoCacheFactory.createInstance(configFile, toStart);
+ cache = PojoCacheFactory.createCache(configFile, toStart);
cache.start();
- cache1 = PojoCacheFactory.createInstance(configFile, toStart);
+ cache1 = PojoCacheFactory.createCache(configFile, toStart);
cache1.start();
}
1.10 +1 -3 JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- LocalTest.java 8 Sep 2006 07:55:59 -0000 1.9
+++ LocalTest.java 31 Oct 2006 11:07:17 -0000 1.10
@@ -9,8 +9,6 @@
import org.jboss.cache.pojo.test.Address;
import org.jboss.cache.pojo.test.Person;
import org.jboss.cache.pojo.test.Student;
-import org.jboss.cache.TreeCacheProxyImpl;
-import org.jboss.cache.Fqn;
import java.util.ArrayList;
import java.util.HashMap;
@@ -41,7 +39,7 @@
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
}
1.4 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/NonAspectizedTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NonAspectizedTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/NonAspectizedTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- NonAspectizedTest.java 8 Sep 2006 07:55:59 -0000 1.3
+++ NonAspectizedTest.java 31 Oct 2006 11:07:17 -0000 1.4
@@ -30,7 +30,7 @@
log_.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
}
1.6 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/NewReplicatedTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NewReplicatedTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/NewReplicatedTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- NewReplicatedTest.java 8 Sep 2006 07:55:59 -0000 1.5
+++ NewReplicatedTest.java 31 Oct 2006 11:07:17 -0000 1.6
@@ -37,8 +37,8 @@
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.6 +1 -7 JBossCache/tests-50/functional/org/jboss/cache/pojo/ObjectGraphTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ObjectGraphTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ObjectGraphTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- ObjectGraphTest.java 8 Sep 2006 07:55:59 -0000 1.5
+++ ObjectGraphTest.java 31 Oct 2006 11:07:17 -0000 1.6
@@ -5,15 +5,9 @@
import junit.framework.TestSuite;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.jboss.cache.DataNode;
import org.jboss.cache.pojo.test.Address;
-import org.jboss.cache.pojo.test.Link;
-import org.jboss.cache.pojo.test.NodeManager;
import org.jboss.cache.pojo.test.Person;
-import java.util.ArrayList;
-import java.util.List;
-
/**
* Test object graph handling in PojoCache, e.g., circular reference, multiple reference, link, etc.
*
@@ -36,7 +30,7 @@
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
}
1.5 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedTxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedTxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedTxTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ReplicatedTxTest.java 8 Sep 2006 07:55:59 -0000 1.4
+++ ReplicatedTxTest.java 31 Oct 2006 11:07:17 -0000 1.5
@@ -45,9 +45,9 @@
log.info("setUp() ....");
String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- cache = PojoCacheFactory.createInstance(configFile, toStart);
+ cache = PojoCacheFactory.createCache(configFile, toStart);
cache.start();
- cache1 = PojoCacheFactory.createInstance(configFile, toStart);
+ cache1 = PojoCacheFactory.createCache(configFile, toStart);
cache1.start();
System.setProperty(Context.INITIAL_CONTEXT_FACTORY, FACTORY);
1.4 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedPutWithBulkRemoveTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedPutWithBulkRemoveTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedPutWithBulkRemoveTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedPutWithBulkRemoveTest.java 8 Sep 2006 07:55:59 -0000 1.3
+++ ReplicatedPutWithBulkRemoveTest.java 31 Oct 2006 11:07:17 -0000 1.4
@@ -43,8 +43,8 @@
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.6 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/NewReplicatedTxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NewReplicatedTxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/NewReplicatedTxTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- NewReplicatedTxTest.java 28 Sep 2006 15:52:56 -0000 1.5
+++ NewReplicatedTxTest.java 31 Oct 2006 11:07:17 -0000 1.6
@@ -58,8 +58,8 @@
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
1.10 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/NewLocalTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NewLocalTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/NewLocalTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- NewLocalTest.java 10 Oct 2006 06:12:23 -0000 1.9
+++ NewLocalTest.java 31 Oct 2006 11:07:17 -0000 1.10
@@ -32,7 +32,7 @@
log_.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
}
1.3 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/ArrayTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ArrayTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ArrayTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ArrayTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ ArrayTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -37,7 +37,7 @@
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
}
1.4 +1 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/CircularGraphTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CircularGraphTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/CircularGraphTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- CircularGraphTest.java 17 Sep 2006 07:09:12 -0000 1.3
+++ CircularGraphTest.java 31 Oct 2006 11:07:17 -0000 1.4
@@ -13,7 +13,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.pojo.test.Person;
-import org.jboss.cache.pojo.test.Address;
import org.jboss.cache.pojo.test.Link;
import org.jboss.cache.pojo.test.NodeManager;
import org.jboss.cache.DataNode;
@@ -43,7 +42,7 @@
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
}
1.6 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/TxUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TxUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/TxUndoTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- TxUndoTest.java 16 Sep 2006 06:22:48 -0000 1.5
+++ TxUndoTest.java 31 Oct 2006 11:07:17 -0000 1.6
@@ -43,7 +43,7 @@
log_.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance(configFile, toStart);
+ cache_ = PojoCacheFactory.createCache(configFile, toStart);
cache_.start();
tx_mgr = DummyTransactionManager.getInstance();
1.5 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedSerializableTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSerializableTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedSerializableTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ReplicatedSerializableTest.java 8 Sep 2006 07:55:59 -0000 1.4
+++ ReplicatedSerializableTest.java 31 Oct 2006 11:07:17 -0000 1.5
@@ -41,8 +41,8 @@
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.4 +1 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalTxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTxTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- LocalTxTest.java 8 Sep 2006 07:55:59 -0000 1.3
+++ LocalTxTest.java 31 Oct 2006 11:07:17 -0000 1.4
@@ -14,7 +14,6 @@
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.transaction.DummyTransactionManager;
import org.jboss.cache.pojo.test.Person;
-import org.jboss.cache.pojo.test.Student;
import org.jboss.cache.pojo.test.Address;
import javax.naming.Context;
@@ -53,7 +52,7 @@
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
boolean toStart = false;
- cache = PojoCacheFactory.createInstance(configFile, toStart);
+ cache = PojoCacheFactory.createCache(configFile, toStart);
cache.start();
System.setProperty(Context.INITIAL_CONTEXT_FACTORY, FACTORY);
1.5 +2 -3 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedNonSerializableTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedNonSerializableTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedNonSerializableTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ReplicatedNonSerializableTest.java 16 Sep 2006 05:25:22 -0000 1.4
+++ ReplicatedNonSerializableTest.java 31 Oct 2006 11:07:17 -0000 1.5
@@ -12,7 +12,6 @@
import junit.framework.TestSuite;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.jboss.cache.pojo.test.NonSerializableObject;
import javax.naming.Context;
import java.util.Properties;
@@ -40,8 +39,8 @@
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.4 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedTest.java 8 Sep 2006 07:55:59 -0000 1.3
+++ ReplicatedTest.java 31 Oct 2006 11:07:17 -0000 1.4
@@ -32,9 +32,9 @@
log.info("setUp() ....");
String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- cache = PojoCacheFactory.createInstance(configFile, toStart);
+ cache = PojoCacheFactory.createCache(configFile, toStart);
cache.start();
- cache1 = PojoCacheFactory.createInstance(configFile, toStart);
+ cache1 = PojoCacheFactory.createCache(configFile, toStart);
cache1.start();
}
1.3 +1 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedCircularGraphTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedCircularGraphTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedCircularGraphTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ReplicatedCircularGraphTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ ReplicatedCircularGraphTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -13,7 +13,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.pojo.test.Person;
-import org.jboss.cache.pojo.test.Address;
import org.jboss.cache.pojo.test.Link;
import org.jboss.cache.pojo.test.NodeManager;
@@ -56,7 +55,7 @@
private PojoCache createCache(String name) throws Exception
{
boolean toStart = false;
- PojoCache tree = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ PojoCache tree = PojoCacheFactory.createCache("META-INF/replSync-service.xml", toStart);
tree.start();
return tree;
}
1.5 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/RecursiveRefTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RecursiveRefTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/RecursiveRefTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- RecursiveRefTest.java 8 Sep 2006 07:55:59 -0000 1.4
+++ RecursiveRefTest.java 31 Oct 2006 11:07:17 -0000 1.5
@@ -29,7 +29,7 @@
super.setUp();
log.info("setUp() ....");
boolean toStart = false;
- cache = PojoCacheFactory.createInstance(CONFIG_FILENAME, toStart);
+ cache = PojoCacheFactory.createCache(CONFIG_FILENAME, toStart);
cache.start();
cache.attach("/aop/test", new HashMap());
cachedMap = (Map) cache.find("/aop/test");
1.5 +2 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalConcurrentTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalConcurrentTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalConcurrentTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- LocalConcurrentTest.java 8 Sep 2006 07:55:59 -0000 1.4
+++ LocalConcurrentTest.java 31 Oct 2006 11:07:17 -0000 1.5
@@ -29,7 +29,7 @@
* Local concurrent test for PojoCache. Test attach and detach under load
* and concurrency.
*
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @author<a href="mailto:bwang at jboss.org">Ben Wang</a> December 2004
*/
public class LocalConcurrentTest extends TestCase
@@ -91,7 +91,7 @@
{
cachingMode_ = caching_mode;
boolean toStart = false;
- cache_ = PojoCacheFactory.createInstance("META-INF/local-service.xml", toStart);
+ cache_ = PojoCacheFactory.createCache("META-INF/local-service.xml", toStart);
cache_.start();
}
More information about the jboss-cvs-commits
mailing list