openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jrba...@apache.org
Subject svn commit: r1128008 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestQueryHints.java
Date Thu, 26 May 2011 17:57:28 GMT
Author: jrbauer
Date: Thu May 26 17:57:27 2011
New Revision: 1128008

URL: http://svn.apache.org/viewvc?rev=1128008&view=rev
Log:
OPENJPA-2007 Replace mistakenly removed assertion

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestQueryHints.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestQueryHints.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestQueryHints.java?rev=1128008&r1=1128007&r2=1128008&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestQueryHints.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestQueryHints.java
Thu May 26 17:57:27 2011
@@ -141,6 +141,8 @@ public class TestQueryHints extends Sing
         goodValue = "false";
         query.setHint(supportedKey, goodValue);
         assertTrue(query.getHints().containsKey(supportedKey));
+        assertEquals(false, query.getFetchPlan().getDelegate().getHint(
+                supportedKey));
     }
     
     public void testJPAHintSetsFetchPlan() {



Mime
View raw message