cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: Minor update to the Tika date test due to the Z conversion producing different values in diff time zones
Date Fri, 11 Jul 2014 09:10:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 3163a3671 -> 901a6e1c8


Minor update to the Tika date test due to the Z conversion producing different values in diff
time zones


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

Branch: refs/heads/master
Commit: 901a6e1c8e17d8ffc19020971ef38d1d0c0116af
Parents: 3163a36
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Jul 11 10:09:44 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Jul 11 10:09:44 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/901a6e1c/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 cbdef04..a629a83 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
@@ -93,7 +93,7 @@ public class TikaLuceneContentExtractorTest extends Assert {
         writer.commit();
 
         assertEquals(1, getHits("modified=gt=2007-09-14T09:02:31", documentMetadata.getFieldTypes()).length);
-        assertEquals(1, getHits("modified=le=2007-09-15T09:02:31", documentMetadata.getFieldTypes()).length);
+        assertEquals(1, getHits("modified=le=2007-09-15T10:02:31", documentMetadata.getFieldTypes()).length);
         assertEquals(1, getHits("modified=ge=2007-09-15", documentMetadata.getFieldTypes()).length);
         assertEquals(1, getHits("modified==2007-09-15", documentMetadata.getFieldTypes()).length);
         assertEquals(0, getHits("modified==2007-09-16", documentMetadata.getFieldTypes()).length);


Mime
View raw message