[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Fri Sep 8 03:55:59 EDT 2006
User: bwang
Date: 06/09/08 03:55:59
Modified: tests-50/functional/org/jboss/cache/pojo
ArrayTest.java CircularGraphTest.java
LocalConcurrentTest.java LocalTest.java
LocalTxTest.java NewLocalTest.java
NewReplicatedTest.java NewReplicatedTxTest.java
NonAspectizedTest.java ObjectGraphTest.java
RecursiveRefTest.java
ReplicatedCircularGraphTest.java
ReplicatedNonSerializableTest.java
ReplicatedObjectGraphTest.java
ReplicatedPutWithBulkRemoveTest.java
ReplicatedSerializableTest.java ReplicatedTest.java
ReplicatedTxTest.java
Log:
added toStart option
Revision Changes Path
1.2 +2 -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.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ArrayTest.java 5 Aug 2006 04:14:05 -0000 1.1
+++ ArrayTest.java 8 Sep 2006 07:55:59 -0000 1.2
@@ -36,7 +36,8 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache_ = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance(configFile, toStart);
cache_.start();
}
1.2 +2 -1 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.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- CircularGraphTest.java 18 Jul 2006 01:36:23 -0000 1.1
+++ CircularGraphTest.java 8 Sep 2006 07:55:59 -0000 1.2
@@ -42,7 +42,8 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache_ = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance(configFile, toStart);
cache_.start();
}
1.4 +3 -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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- LocalConcurrentTest.java 20 Jul 2006 18:43:13 -0000 1.3
+++ LocalConcurrentTest.java 8 Sep 2006 07:55:59 -0000 1.4
@@ -29,7 +29,7 @@
* Local concurrent test for PojoCache. Test attach and detach under load
* and concurrency.
*
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
* @author<a href="mailto:bwang at jboss.org">Ben Wang</a> December 2004
*/
public class LocalConcurrentTest extends TestCase
@@ -90,7 +90,8 @@
void initCaches(Configuration.CacheMode caching_mode) throws Exception
{
cachingMode_ = caching_mode;
- cache_ = PojoCacheFactory.createInstance("META-INF/local-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/local-service.xml", toStart);
cache_.start();
}
1.9 +2 -1 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.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- LocalTest.java 5 Sep 2006 06:16:48 -0000 1.8
+++ LocalTest.java 8 Sep 2006 07:55:59 -0000 1.9
@@ -40,7 +40,8 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache_ = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance(configFile, toStart);
cache_.start();
}
1.3 +2 -1 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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- LocalTxTest.java 27 Jul 2006 09:20:13 -0000 1.2
+++ LocalTxTest.java 8 Sep 2006 07:55:59 -0000 1.3
@@ -52,7 +52,8 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache = PojoCacheFactory.createInstance(configFile, toStart);
cache.start();
System.setProperty(Context.INITIAL_CONTEXT_FACTORY, FACTORY);
1.7 +2 -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.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- NewLocalTest.java 13 Jul 2006 16:53:32 -0000 1.6
+++ NewLocalTest.java 8 Sep 2006 07:55:59 -0000 1.7
@@ -31,7 +31,8 @@
super.setUp();
log_.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache_ = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance(configFile, toStart);
cache_.start();
}
1.5 +3 -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.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- NewReplicatedTest.java 5 Sep 2006 06:16:48 -0000 1.4
+++ NewReplicatedTest.java 8 Sep 2006 07:55:59 -0000 1.5
@@ -36,8 +36,9 @@
super.setUp();
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.4 +3 -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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- NewReplicatedTxTest.java 12 Jul 2006 13:29:04 -0000 1.3
+++ NewReplicatedTxTest.java 8 Sep 2006 07:55:59 -0000 1.4
@@ -57,8 +57,9 @@
super.setUp();
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
1.3 +2 -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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- NonAspectizedTest.java 27 Jun 2006 09:19:31 -0000 1.2
+++ NonAspectizedTest.java 8 Sep 2006 07:55:59 -0000 1.3
@@ -29,7 +29,8 @@
super.setUp();
log_.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache_ = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance(configFile, toStart);
cache_.start();
}
1.5 +2 -1 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.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ObjectGraphTest.java 18 Jul 2006 01:36:23 -0000 1.4
+++ ObjectGraphTest.java 8 Sep 2006 07:55:59 -0000 1.5
@@ -35,7 +35,8 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/local-service.xml";
- cache_ = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance(configFile, toStart);
cache_.start();
}
1.4 +2 -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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- RecursiveRefTest.java 2 Aug 2006 15:32:24 -0000 1.3
+++ RecursiveRefTest.java 8 Sep 2006 07:55:59 -0000 1.4
@@ -28,7 +28,8 @@
{
super.setUp();
log.info("setUp() ....");
- cache = PojoCacheFactory.createInstance(CONFIG_FILENAME);
+ boolean toStart = false;
+ cache = PojoCacheFactory.createInstance(CONFIG_FILENAME, toStart);
cache.start();
cache.attach("/aop/test", new HashMap());
cachedMap = (Map) cache.find("/aop/test");
1.2 +2 -1 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.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedCircularGraphTest.java 18 Jul 2006 01:36:23 -0000 1.1
+++ ReplicatedCircularGraphTest.java 8 Sep 2006 07:55:59 -0000 1.2
@@ -55,7 +55,8 @@
private PojoCache createCache(String name) throws Exception
{
- PojoCache tree = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ PojoCache tree = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
tree.start();
return tree;
}
1.3 +3 -2 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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ReplicatedNonSerializableTest.java 27 Jun 2006 09:19:31 -0000 1.2
+++ ReplicatedNonSerializableTest.java 8 Sep 2006 07:55:59 -0000 1.3
@@ -38,8 +38,9 @@
super.setUp();
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.5 +2 -1 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.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ReplicatedObjectGraphTest.java 18 Jul 2006 01:36:23 -0000 1.4
+++ ReplicatedObjectGraphTest.java 8 Sep 2006 07:55:59 -0000 1.5
@@ -48,7 +48,8 @@
private PojoCache createCache(String name) throws Exception
{
- PojoCache tree = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ PojoCache tree = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
tree.start();
return tree;
}
1.3 +3 -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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ReplicatedPutWithBulkRemoveTest.java 27 Jun 2006 09:19:31 -0000 1.2
+++ ReplicatedPutWithBulkRemoveTest.java 8 Sep 2006 07:55:59 -0000 1.3
@@ -42,8 +42,9 @@
super.setUp();
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.4 +3 -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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedSerializableTest.java 25 Aug 2006 14:10:11 -0000 1.3
+++ ReplicatedSerializableTest.java 8 Sep 2006 07:55:59 -0000 1.4
@@ -40,8 +40,9 @@
super.setUp();
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.cache.transaction.DummyContextFactory");
- cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
- cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
+ cache1_ = PojoCacheFactory.createInstance("META-INF/replSync-service.xml", toStart);
cache_.start();
cache1_.start();
}
1.3 +3 -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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ReplicatedTest.java 27 Jun 2006 09:19:31 -0000 1.2
+++ ReplicatedTest.java 8 Sep 2006 07:55:59 -0000 1.3
@@ -31,9 +31,10 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/replSync-service.xml";
- cache = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache = PojoCacheFactory.createInstance(configFile, toStart);
cache.start();
- cache1 = PojoCacheFactory.createInstance(configFile);
+ cache1 = PojoCacheFactory.createInstance(configFile, toStart);
cache1.start();
}
1.4 +3 -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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedTxTest.java 27 Jul 2006 09:20:13 -0000 1.3
+++ ReplicatedTxTest.java 8 Sep 2006 07:55:59 -0000 1.4
@@ -44,9 +44,10 @@
super.setUp();
log.info("setUp() ....");
String configFile = "META-INF/replSync-service.xml";
- cache = PojoCacheFactory.createInstance(configFile);
+ boolean toStart = false;
+ cache = PojoCacheFactory.createInstance(configFile, toStart);
cache.start();
- cache1 = PojoCacheFactory.createInstance(configFile);
+ cache1 = PojoCacheFactory.createInstance(configFile, toStart);
cache1.start();
System.setProperty(Context.INITIAL_CONTEXT_FACTORY, FACTORY);
More information about the jboss-cvs-commits
mailing list