You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by br...@apache.org on 2005/12/09 17:57:38 UTC
svn commit: r355537 -
/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java
Author: brazil
Date: Fri Dec 9 08:57:33 2005
New Revision: 355537
URL: http://svn.apache.org/viewcvs?rev=355537&view=rev
Log:
JDO-254: Fix message when query compilation fails.
Modified:
incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java
Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java?rev=355537&r1=355536&r2=355537&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java (original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryTest.java Fri Dec 9 08:57:33 2005
@@ -790,7 +790,8 @@
if (logger.isDebugEnabled()) {
logger.debug("Compiling API query: " + queryElementHolder);
}
- compile(assertion, queryElementHolder, false, null, positive);
+ compile(assertion, queryElementHolder, false,
+ queryElementHolder.toString(), positive);
}
/**
@@ -812,7 +813,8 @@
if (logger.isDebugEnabled())
logger.debug("Compiling single string query: " +
queryElementHolder);
- compile(assertion, queryElementHolder, true, null, positive);
+ compile(assertion, queryElementHolder, true,
+ queryElementHolder.toString(), positive);
}
/**