openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1683234 - in /openjpa/trunk/openjpa-persistence-jdbc: ./ src/test/java/org/apache/openjpa/persistence/cascade/pudefault/
Date Wed, 03 Jun 2015 06:10:06 GMT
Author: struberg
Date: Wed Jun  3 06:10:05 2015
New Revision: 1683234

URL: http://svn.apache.org/r1683234
Log:
fix unit test setup.

* remove the mis-typed 'q' which trashed our exclude rules
* fix enlisted entities in 2 tests. Otherwise the tests will fail randomly 

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/pom.xml
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestNoPUDefaultCascadePersist.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestPUDefaultCascadePersist.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/pom.xml?rev=1683234&r1=1683233&r2=1683234&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/pom.xml Wed Jun  3 06:10:05 2015
@@ -915,7 +915,7 @@
                     <excludes>
                         <!-- exclude classes that end with 'Test'; these
                              are not test cases per OpenJPA standards -->
-                        <exclude>org/apache/openjpa/**/*Testq.java</exclude>
+                        <exclude>org/apache/openjpa/**/*Test.java</exclude>
 
                         <!-- exclude classes that include a $; inner classes
                              are not test cases per OpenJPA standards -->

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestNoPUDefaultCascadePersist.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestNoPUDefaultCascadePersist.java?rev=1683234&r1=1683233&r2=1683234&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestNoPUDefaultCascadePersist.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestNoPUDefaultCascadePersist.java
Wed Jun  3 06:10:05 2015
@@ -24,7 +24,8 @@ import org.apache.openjpa.persistence.te
 
 public class TestNoPUDefaultCascadePersist extends SingleEMFTestCase {
     public void setUp() throws Exception {
-        super.setUp(PUDEntityA01.class, PUDEntityAE01.class, PUDEntityB.class, AnEmbeddable.class,
+        super.setUp(PUDEntityA01.class, PUDEntityA02.class, PUDEntityAE01.class, PUDEntityB.class,
+            AnEmbeddable.class, EmbeddableWithRelationships.class,
             CLEAR_TABLES);
     }
     

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestPUDefaultCascadePersist.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestPUDefaultCascadePersist.java?rev=1683234&r1=1683233&r2=1683234&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestPUDefaultCascadePersist.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/cascade/pudefault/TestPUDefaultCascadePersist.java
Wed Jun  3 06:10:05 2015
@@ -25,6 +25,7 @@ import org.apache.openjpa.persistence.te
 public class TestPUDefaultCascadePersist extends SingleEMFTestCase {
     public void setUp() throws Exception {
         super.setUp(PUDEntityA01.class, PUDEntityA02.class, PUDEntityAE01.class, PUDEntityB.class,
+            AnEmbeddable.class, EmbeddableWithRelationships.class,
             CLEAR_TABLES);
     }
     
@@ -36,7 +37,7 @@ public class TestPUDefaultCascadePersist
     public void tearDown() throws Exception {
         super.tearDown();
     }
-    
+
     public void testPUDefaultCascadePersistOverM2M() {
         EntityManager em = emf.createEntityManager();
         



Mime
View raw message