[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/region ...
Ben Wang
bwang at jboss.com
Fri Sep 8 03:55:58 EDT 2006
User: bwang
Date: 06/09/08 03:55:58
Modified: tests-50/functional/org/jboss/cache/pojo/region
LocalConcurrentTest.java LocalTest.java
NewLocalTest.java ReplicatedTest.java
Log:
added toStart option
Revision Changes Path
1.2 +3 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/region/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/region/LocalConcurrentTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- LocalConcurrentTest.java 31 Jul 2006 05:14:01 -0000 1.1
+++ LocalConcurrentTest.java 8 Sep 2006 07:55:58 -0000 1.2
@@ -27,7 +27,7 @@
* Local concurrent test for PojoCache. Test attach and detach under load
* and concurrency.
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
* @author<a href="mailto:bwang at jboss.org">Ben Wang</a> December 2004
*/
public class LocalConcurrentTest extends TestCase
@@ -86,7 +86,8 @@
void initCaches() throws Exception
{
- cache_ = PojoCacheFactory.createInstance("META-INF/local-service.xml");
+ boolean toStart = false;
+ cache_ = PojoCacheFactory.createInstance("META-INF/local-service.xml", toStart);
cache_.start();
}
1.3 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/region/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/region/LocalTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- LocalTest.java 5 Sep 2006 06:32:13 -0000 1.2
+++ LocalTest.java 8 Sep 2006 07:55:58 -0000 1.3
@@ -47,7 +47,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();
InvocationContext.getCurrent().setRegion("SESSION");
}
1.2 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/region/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/region/NewLocalTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- NewLocalTest.java 31 Jul 2006 05:14:01 -0000 1.1
+++ NewLocalTest.java 8 Sep 2006 07:55:58 -0000 1.2
@@ -38,7 +38,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();
InvocationContext.getCurrent().setRegion("SESSION");
}
1.2 +3 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/region/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/region/ReplicatedTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedTest.java 31 Jul 2006 05:14:01 -0000 1.1
+++ ReplicatedTest.java 8 Sep 2006 07:55:58 -0000 1.2
@@ -39,9 +39,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();
InvocationContext.getCurrent().setRegion("SESSION");
}
More information about the jboss-cvs-commits
mailing list