openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r954532 - in /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel: DummyBrokerFactory.java TestBrokerFactory.java TestInitializeEagerly.java
Date Mon, 14 Jun 2010 16:06:31 GMT
Author: curtisr7
Date: Mon Jun 14 16:06:31 2010
New Revision: 954532

URL: http://svn.apache.org/viewvc?rev=954532&view=rev
Log:
OPENJPA-1692: Rename TestBrokerFactory.

Added:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/DummyBrokerFactory.java
      - copied, changed from r954488, openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestBrokerFactory.java
Removed:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestBrokerFactory.java
Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestInitializeEagerly.java

Copied: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/DummyBrokerFactory.java
(from r954488, openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestBrokerFactory.java)
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/DummyBrokerFactory.java?p2=openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/DummyBrokerFactory.java&p1=openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestBrokerFactory.java&r1=954488&r2=954532&rev=954532&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestBrokerFactory.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/DummyBrokerFactory.java
Mon Jun 14 16:06:31 2010
@@ -25,17 +25,17 @@ import org.apache.openjpa.kernel.StoreMa
 import org.apache.openjpa.lib.conf.ConfigurationProvider;
 
 @SuppressWarnings("serial")
-public class TestBrokerFactory extends JDBCBrokerFactory {
+public class DummyBrokerFactory extends JDBCBrokerFactory {
     JDBCConfiguration _conf;
-    public TestBrokerFactory(JDBCConfiguration conf) {
+    public DummyBrokerFactory(JDBCConfiguration conf) {
         super(conf);
         _conf = conf;
     }
     
-    public static TestBrokerFactory newInstance(ConfigurationProvider cp) {
+    public static DummyBrokerFactory newInstance(ConfigurationProvider cp) {
         JDBCConfiguration conf = new JDBCConfigurationImpl();
         cp.setInto(conf);
-        return new TestBrokerFactory(conf);
+        return new DummyBrokerFactory(conf);
     }   
     
     @Override

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestInitializeEagerly.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestInitializeEagerly.java?rev=954532&r1=954531&r2=954532&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestInitializeEagerly.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/TestInitializeEagerly.java
Mon Jun 14 16:06:31 2010
@@ -26,7 +26,7 @@ public class TestInitializeEagerly exten
     public void setUp() throws Exception {
         super.setUp(RuntimeTest1.class, 
             "openjpa.InitializeEagerly", "true", 
-            "openjpa.BrokerFactory", TestBrokerFactory.class.getName()
+            "openjpa.BrokerFactory", DummyBrokerFactory.class.getName()
             );
     }
     



Mime
View raw message