openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r802138 - in /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria: TestEmbeddableCriteria.java TestJPQLSubquery.java TestMetaModelTypesafeCriteria.java TestTypesafeCriteria.java
Date Fri, 07 Aug 2009 18:35:17 GMT
Author: mikedd
Date: Fri Aug  7 18:35:16 2009
New Revision: 802138

URL: http://svn.apache.org/viewvc?rev=802138&view=rev
Log:
OPENJPA-1222: 
remove @AllowFailure on tests that pass

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestEmbeddableCriteria.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestJPQLSubquery.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestMetaModelTypesafeCriteria.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestEmbeddableCriteria.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestEmbeddableCriteria.java?rev=802138&r1=802137&r2=802138&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestEmbeddableCriteria.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestEmbeddableCriteria.java
Fri Aug  7 18:35:16 2009
@@ -805,7 +805,7 @@
     }
     
     //comparison of embed is not support
-    @AllowFailure
+    
     public void btestEmbeddableQuery63() {
         String jpql = "select a.embed from EntityA_Embed_Embed a WHERE a.embed.embed IS NOT
NULL";
         CriteriaQuery<Embed_Embed> q = cb.createQuery(Embed_Embed.class);

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestJPQLSubquery.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestJPQLSubquery.java?rev=802138&r1=802137&r2=802138&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestJPQLSubquery.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestJPQLSubquery.java
Fri Aug  7 18:35:16 2009
@@ -1471,7 +1471,7 @@
         assertEquivalence(q, jpql);
     }
 
-    @AllowFailure(message="parameter setting problem")
+    
     public void testSubSelectMaxDateRange() {
         String jpql = "SELECT e,d from Employee e, Dependent d "
             + "WHERE e.empId = :empid "

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestMetaModelTypesafeCriteria.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestMetaModelTypesafeCriteria.java?rev=802138&r1=802137&r2=802138&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestMetaModelTypesafeCriteria.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestMetaModelTypesafeCriteria.java
Fri Aug  7 18:35:16 2009
@@ -325,7 +325,7 @@
      
        assertEquivalence(q, jpql); 
      }
-    @AllowFailure
+
     public void testParameters() {
         String jpql = "SELECT c FROM Customer c Where c.status = :stat";
         CriteriaQuery<?> q = cb.createQuery();

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java?rev=802138&r1=802137&r2=802138&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java
Fri Aug  7 18:35:16 2009
@@ -48,12 +48,14 @@
  * 
  */
 public class TestTypesafeCriteria extends CriteriaTest {
+    
     @AllowFailure
     public void testTrue() {
         CriteriaQuery<Person> q = cb.createQuery(Person.class);
         q.from(Person.class);
         assertEquivalence(q.where(cb.literal(Boolean.TRUE)), "SELECT p FROM Person p WHERE
1=1");
     }
+    
     @AllowFailure
     public void testFalse() {
         CriteriaQuery<Person> q = cb.createQuery(Person.class);
@@ -503,7 +505,7 @@
 
         assertEquivalence(q, jpql);
     }
-    @AllowFailure
+    
     public void testParameters1() {
         String jpql = "SELECT c FROM Customer c Where c.status = :stat";
         
@@ -514,7 +516,7 @@
 
         assertEquivalence(q, jpql, new String[] { "stat" }, new Object[] { 1 });
     }
-    @AllowFailure
+    
     public void testParameters2() {
         String jpql = "SELECT c FROM Customer c Where c.status = :stat AND c.name = :name";
         
@@ -528,7 +530,7 @@
         assertEquivalence(q, jpql, new String[] { "stat", "name" },
                 new Object[] { 1, "test" });
     }
-    @AllowFailure
+    
     public void testParameters3() {
         String jpql = "SELECT c FROM Customer c Where c.status = :stat";
 
@@ -539,7 +541,7 @@
         
         assertEquivalence(q, jpql, new String[]{"stat"}, new Object[] { 1 });
     }
-    @AllowFailure
+    
     public void testParameters4() {
         String jpql = "SELECT c FROM Customer c Where c.status = :stat AND c.name = :name";
         
@@ -552,7 +554,7 @@
         assertEquivalence(q, jpql, new String[]{"stat", "name"},
                 new Object[] { 1, "test" });
     }
-    @AllowFailure
+    
     public void testParameters5() {
         String jpql = "SELECT c FROM Customer c Where c.status IN (:coll)";
         
@@ -611,7 +613,7 @@
         assertEquivalence(q, jpql);
     }
 
-    @AllowFailure(message="Projections of multiple NEW does not work")
+    @AllowFailure
     public void testMultipleConstructorInProjection() {
         String jpql = "SELECT NEW CustomerDetails(c.id, c.status), " 
                     + "NEW CustomerFullName(c.firstName, c.lastName) "



Mime
View raw message