lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1690053 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/solrj/ solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java
Date Thu, 09 Jul 2015 10:31:59 GMT
Author: uschindler
Date: Thu Jul  9 10:31:58 2015
New Revision: 1690053

URL: http://svn.apache.org/r1690053
Log:
Merged revision(s) 1690052 from lucene/dev/trunk:
Some timezones do not even roundtrip (like Mideast/Riyadh87), so disable the completely random
timezone test

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/solrj/   (props changed)
    lucene/dev/branches/branch_5x/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java

Modified: lucene/dev/branches/branch_5x/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java?rev=1690053&r1=1690052&r2=1690053&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java
(original)
+++ lucene/dev/branches/branch_5x/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java
Thu Jul  9 10:31:58 2015
@@ -18,18 +18,12 @@ package org.apache.solr.common.util;
  */
 
 import java.text.ParseException;
-import java.util.Date;
 import java.util.Locale;
 
 import org.apache.lucene.util.LuceneTestCase;
 
 public class TestDateUtil extends LuceneTestCase {
 
-  public void testDateToString() throws ParseException {
-    long ts = 1226583351000L;
-    assertParsedDate(ts, new Date(ts).toString());
-  }
-  
   public void testParseDate() throws ParseException {
     assertParsedDate(1226583351000L, "Thu Nov 13 04:35:51 AKST 2008");
   }



Mime
View raw message