jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1220832 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/QueryTest.java
Date Mon, 19 Dec 2011 16:30:16 GMT
Author: thomasm
Date: Mon Dec 19 16:30:15 2011
New Revision: 1220832

URL: http://svn.apache.org/viewvc?rev=1220832&view=rev
Log:
Don't System.out.

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/QueryTest.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/QueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/QueryTest.java?rev=1220832&r1=1220831&r2=1220832&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/QueryTest.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/QueryTest.java
Mon Dec 19 16:30:15 2011
@@ -116,7 +116,10 @@ public class QueryTest {
         Row r = it.nextRow();
         assertEquals("/", r.getPath());
         Value[] values = r.getValues();
-        System.out.println(values);
+        assertEquals(3, values.length);
+        assertEquals("/", values[0].getString());
+        assertEquals("0.5", values[1].getString());
+        assertEquals("", values[2].getString());
         assertEquals("/", r.getValue("jcr:path").getString());
         assertEquals("0.5", r.getValue("jcr:score").getString());
         assertFalse(it.hasNext());



Mime
View raw message