[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback ...
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/rollback
MapUndoTest.java PojoCollectionRollbackTest.java
ReplicatedTxTest.java SetTxUndoTest.java
MapTxUndoTest.java ListUndoTest.java
InMemoryTxUndoTest.java SetUndoTest.java
ListTxUndoTest.java LocalTxUndoTest.java
LocalUndoTest.java
Log:
Refactored to be consistent with Cache factory method name.
Revision Changes Path
1.3 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/MapUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MapUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/MapUndoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- MapUndoTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ MapUndoTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -45,7 +45,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.2 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/PojoCollectionRollbackTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PojoCollectionRollbackTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/PojoCollectionRollbackTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- PojoCollectionRollbackTest.java 10 Oct 2006 10:50:34 -0000 1.1
+++ PojoCollectionRollbackTest.java 31 Oct 2006 11:07:17 -0000 1.2
@@ -44,7 +44,7 @@
{
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.3 +2 -3 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/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/rollback/ReplicatedTxTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ReplicatedTxTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ ReplicatedTxTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -14,7 +14,6 @@
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.pojo.*;
import org.jboss.cache.pojo.test.Person;
-import org.jboss.cache.pojo.test.Student;
import org.jboss.cache.transaction.DummyTransactionManager;
import javax.naming.Context;
@@ -53,9 +52,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.3 +1 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/SetTxUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SetTxUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/SetTxUndoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SetTxUndoTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ SetTxUndoTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -19,7 +19,6 @@
import org.jboss.aop.proxy.ClassProxy;
import javax.transaction.TransactionManager;
-import java.util.ArrayList;
import java.util.HashSet;
/**
@@ -45,7 +44,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 +1 -2 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/MapTxUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MapTxUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/MapTxUndoTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- MapTxUndoTest.java 10 Oct 2006 09:59:35 -0000 1.4
+++ MapTxUndoTest.java 31 Oct 2006 11:07:17 -0000 1.5
@@ -19,7 +19,6 @@
import org.jboss.aop.proxy.ClassProxy;
import javax.transaction.TransactionManager;
-import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
@@ -46,7 +45,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.3 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/ListUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ListUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/ListUndoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ListUndoTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ ListUndoTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -45,7 +45,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.2 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/InMemoryTxUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InMemoryTxUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/InMemoryTxUndoTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InMemoryTxUndoTest.java 17 Sep 2006 06:15:56 -0000 1.1
+++ InMemoryTxUndoTest.java 31 Oct 2006 11:07:17 -0000 1.2
@@ -47,7 +47,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.3 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/SetUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SetUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/SetUndoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SetUndoTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ SetUndoTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -45,7 +45,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.3 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/ListTxUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ListTxUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/ListTxUndoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ListTxUndoTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ ListTxUndoTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -44,7 +44,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.4 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/LocalTxUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalTxUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/LocalTxUndoTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- LocalTxUndoTest.java 17 Sep 2006 06:19:21 -0000 1.3
+++ LocalTxUndoTest.java 31 Oct 2006 11:07:17 -0000 1.4
@@ -45,7 +45,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.3 +1 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/LocalUndoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalUndoTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/rollback/LocalUndoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- LocalUndoTest.java 8 Sep 2006 07:55:59 -0000 1.2
+++ LocalUndoTest.java 31 Oct 2006 11:07:17 -0000 1.3
@@ -46,7 +46,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();
More information about the jboss-cvs-commits
mailing list