cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: Another attempt to fix a date related Tika test
Date Sun, 13 Jul 2014 18:20:42 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 5d5caa182 -> 02dbc1104


Another attempt to fix a date related Tika test


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/02dbc110
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/02dbc110
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/02dbc110

Branch: refs/heads/master
Commit: 02dbc11048a67628b3f5e4f4ea9b307acbb3130d
Parents: 5d5caa1
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Sun Jul 13 19:20:23 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Sun Jul 13 19:20:23 2014 +0100

----------------------------------------------------------------------
 .../cxf/jaxrs/ext/search/tika/TikaLuceneContentExtractorTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/02dbc110/rt/rs/extensions/search/src/test/java/org/apache/cxf/jaxrs/ext/search/tika/TikaLuceneContentExtractorTest.java
----------------------------------------------------------------------
diff --git a/rt/rs/extensions/search/src/test/java/org/apache/cxf/jaxrs/ext/search/tika/TikaLuceneContentExtractorTest.java
b/rt/rs/extensions/search/src/test/java/org/apache/cxf/jaxrs/ext/search/tika/TikaLuceneContentExtractorTest.java
index fc102fd..3c832db 100644
--- a/rt/rs/extensions/search/src/test/java/org/apache/cxf/jaxrs/ext/search/tika/TikaLuceneContentExtractorTest.java
+++ b/rt/rs/extensions/search/src/test/java/org/apache/cxf/jaxrs/ext/search/tika/TikaLuceneContentExtractorTest.java
@@ -95,7 +95,7 @@ public class TikaLuceneContentExtractorTest extends Assert {
         assertEquals(1, getHits("modified=gt=2007-09-14T09:02:31", documentMetadata.getFieldTypes()).length);
         
         // TODO Check why this does not work
-        //assertEquals(1, getHits("modified=le=2007-09-15T10:02:31", documentMetadata.getFieldTypes()).length);
+        assertEquals(1, getHits("modified=le=2007-09-15T09:02:31Z", documentMetadata.getFieldTypes()).length);
         
         assertEquals(1, getHits("modified=ge=2007-09-15", documentMetadata.getFieldTypes()).length);
         assertEquals(1, getHits("modified==2007-09-15", documentMetadata.getFieldTypes()).length);


Mime
View raw message