db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r540316 - in /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck: ./ api/persistencemanagerfactory/
Date Mon, 21 May 2007 22:01:40 GMT
Author: mcaisse
Date: Mon May 21 15:01:39 2007
New Revision: 540316

URL: http://svn.apache.org/viewvc?view=rev&rev=540316
Log:
JDO-433

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/JDO_Test.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManager.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerFactoryByPropertiesInstance.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerForUser.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionPassword.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionURL.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionUserName.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetIgnoreCache.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetMultithreaded.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalRead.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalWrite.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetOptimistic.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetRetainValues.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SupportedOptions.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/JDO_Test.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/JDO_Test.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/JDO_Test.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/JDO_Test.java Mon May 21 15:01:39 2007
@@ -232,7 +232,7 @@
     private Collection tearDownClasses = new LinkedList();
     
     /** */
-    protected void setUp() throws Exception {
+    protected final void setUp() throws Exception {
         pmf = getPMF();
         localSetUp();
     }
@@ -247,7 +247,7 @@
      * Runs the bare test sequence.
      * @exception Throwable if any exception is thrown
      */
-    public void runBare() throws Throwable {
+    public final void runBare() throws Throwable {
         try {
             testSucceeded = false;
             setUp();

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManager.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManager.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManager.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManager.java
Mon May 21 15:01:39 2007
@@ -52,13 +52,6 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
-        closePMF();
-        super.setUp();
-    }
-
-    /** */
     public void test() {
         PersistenceManager pm = null;
         try {

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerFactoryByPropertiesInstance.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerFactoryByPropertiesInstance.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerFactoryByPropertiesInstance.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerFactoryByPropertiesInstance.java
Mon May 21 15:01:39 2007
@@ -57,20 +57,13 @@
         BatchTestRunner.run(GetPersistenceManagerFactoryByPropertiesInstance.class);
     }
 
-    /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
-        closePMF();
-        PMFPropertiesObject = loadProperties(PMFProperties);
-        pmf = JDOHelper.getPersistenceManagerFactory(PMFPropertiesObject);
-        localSetUp();
-    }
-
     /**
      * @see JDO_Test#localSetUp()
      */
     protected void localSetUp() {
         addTearDownClass(Company.class);
+        PMFPropertiesObject = loadProperties(PMFProperties);
+        pmf = JDOHelper.getPersistenceManagerFactory(PMFPropertiesObject);
     }
 
     /** */

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerForUser.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerForUser.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerForUser.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/GetPersistenceManagerForUser.java
Mon May 21 15:01:39 2007
@@ -61,9 +61,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
-        closePMF();
+    protected void localSetUp() {
         Properties props = loadProperties(PMFProperties);
         username = (String)props.remove(CONNECTION_USERNAME_PROP);
         password = (String)props.remove(CONNECTION_PASSWORD_PROP);

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionPassword.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionPassword.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionPassword.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionPassword.java
Mon May 21 15:01:39 2007
@@ -52,8 +52,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
         password = getPMFProperty(CONNECTION_PASSWORD_PROP);

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionURL.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionURL.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionURL.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionURL.java
Mon May 21 15:01:39 2007
@@ -56,8 +56,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
         url = getPMFProperty(CONNECTION_URL_PROP);

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionUserName.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionUserName.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionUserName.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetConnectionUserName.java
Mon May 21 15:01:39 2007
@@ -55,8 +55,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
         username = getPMFProperty(CONNECTION_USERNAME_PROP);

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetIgnoreCache.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetIgnoreCache.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetIgnoreCache.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetIgnoreCache.java
Mon May 21 15:01:39 2007
@@ -51,8 +51,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
     }

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetMultithreaded.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetMultithreaded.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetMultithreaded.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetMultithreaded.java
Mon May 21 15:01:39 2007
@@ -55,8 +55,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
     }

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalRead.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalRead.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalRead.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalRead.java
Mon May 21 15:01:39 2007
@@ -52,8 +52,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
     }

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalWrite.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalWrite.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalWrite.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetNonTransactionalWrite.java
Mon May 21 15:01:39 2007
@@ -52,8 +52,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
     }

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetOptimistic.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetOptimistic.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetOptimistic.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetOptimistic.java
Mon May 21 15:01:39 2007
@@ -51,8 +51,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
     }

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetRetainValues.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetRetainValues.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetRetainValues.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SetRetainValues.java
Mon May 21 15:01:39 2007
@@ -53,8 +53,7 @@
     }
 
     /** */
-    protected void setUp() throws Exception {
-        // close pmf that might be left open from previous test
+    protected void localSetUp() {
         closePMF();
         pmf = getUnconfiguredPMF();
     }

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SupportedOptions.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SupportedOptions.java?view=diff&rev=540316&r1=540315&r2=540316
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SupportedOptions.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/SupportedOptions.java
Mon May 21 15:01:39 2007
@@ -74,3 +74,4 @@
         }
     }  
 }
+



Mime
View raw message