Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B121318465 for ; Thu, 9 Jul 2015 10:32:04 +0000 (UTC) Received: (qmail 57383 invoked by uid 500); 9 Jul 2015 10:31:59 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 57374 invoked by uid 99); 9 Jul 2015 10:31:59 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 10:31:59 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 66D33AC00B4 for ; Thu, 9 Jul 2015 10:31:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@lucene.apache.org From: uschindler@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150709103159.66D33AC00B4@hades.apache.org> 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"); }