jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r577876 - in /jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query: SQLQueryLevel2Test.java XPathQueryLevel2Test.java
Date Thu, 20 Sep 2007 18:56:20 GMT
Author: jukka
Date: Thu Sep 20 11:56:19 2007
New Revision: 577876

URL: http://svn.apache.org/viewvc?rev=577876&view=rev
Log:
1.3: Merged revision 575023 (JCR-1121)

Modified:
    jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
    jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java

Modified: jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java?rev=577876&r1=577875&r2=577876&view=diff
==============================================================================
--- jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
(original)
+++ jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/SQLQueryLevel2Test.java
Thu Sep 20 11:56:19 2007
@@ -134,7 +134,7 @@
         StringBuffer tmp = new StringBuffer("SELECT ");
         tmp.append(escapeIdentifierForSQL(propertyName1));
         tmp.append(" FROM ").append(escapeIdentifierForSQL(testNodeType));
-        tmp.append(" WHERE CONTAINS(., '''quick brown'' -cat')");
+        tmp.append(" WHERE CONTAINS(., '\"quick brown\" -cat')");
         tmp.append(" AND ").append(jcrPath).append(" LIKE '");
         tmp.append(testRoot).append("/%'");
         return new Statement(tmp.toString(), Query.SQL);

Modified: jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java?rev=577876&r1=577875&r2=577876&view=diff
==============================================================================
--- jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java
(original)
+++ jackrabbit/branches/1.3/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/XPathQueryLevel2Test.java
Thu Sep 20 11:56:19 2007
@@ -133,7 +133,7 @@
         StringBuffer tmp = new StringBuffer("/");
         tmp.append(jcrRoot).append(testRoot);
         tmp.append("/*[").append(jcrContains);
-        tmp.append("(., \"'quick brown' -cat\")]");
+        tmp.append("(., '\"quick brown\" -cat')]");
         return new Statement(tmp.toString(), Query.XPATH);
     }
 



Mime
View raw message