openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fa...@apache.org
Subject svn commit: r727107 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java
Date Tue, 16 Dec 2008 18:27:30 GMT
Author: fancy
Date: Tue Dec 16 10:27:30 2008
New Revision: 727107

URL: http://svn.apache.org/viewvc?rev=727107&view=rev
Log:
OPENJPA-806 : fix testcase: testGeneralCase & testParameter

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java?rev=727107&r1=727106&r2=727107&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestCriteria.java
Tue Dec 16 10:27:30 2008
@@ -226,7 +226,7 @@
 					+ " FROM Employee e"
 					+ " WHERE e.department.name = 'Engineering'";
 		
-		compare(jpql, e, "Case not supported");
+		compare(jpql, e);
 	}
 	
 	public void testMemberOf() {
@@ -245,7 +245,7 @@
 		
 		String jpql = "select c from Customer c " +
 		              " where c.status = :status";
-		compare(jpql, qdef, null, "status", 1);
+		compare(jpql, qdef, "status", 1);
 	}
 	
 	public void testBetween() {



Mime
View raw message