Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 43692 invoked from network); 27 Mar 2010 18:34:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Mar 2010 18:34:45 -0000 Received: (qmail 75046 invoked by uid 500); 27 Mar 2010 18:34:45 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 75018 invoked by uid 500); 27 Mar 2010 18:34:45 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 75011 invoked by uid 99); 27 Mar 2010 18:34:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Mar 2010 18:34:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Mar 2010 18:34:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 696EA238897A; Sat, 27 Mar 2010 18:34:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r928243 - /lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Date: Sat, 27 Mar 2010 18:34:21 -0000 To: java-commits@lucene.apache.org From: uschindler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100327183421.696EA238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: uschindler Date: Sat Mar 27 18:34:21 2010 New Revision: 928243 URL: http://svn.apache.org/viewvc?rev=928243&view=rev Log: Use getDataDir also for index backwards compatibility tests Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java?rev=928243&r1=928242&r2=928243&view=diff ============================================================================== --- lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java (original) +++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Sat Mar 27 18:34:21 2010 @@ -74,11 +74,11 @@ public class TestBackwardsCompatibility } */ - /* Unzips dirName + ".zip" --> dirName, removing dirName + /* Unzips zipName --> dirName, removing dirName first */ - public void unzip(String zipName, String destDirName) throws IOException { + public void unzip(File zipName, String destDirName) throws IOException { - ZipFile zipFile = new ZipFile(zipName + ".zip"); + ZipFile zipFile = new ZipFile(zipName); Enumeration entries = zipFile.entries(); @@ -205,8 +205,7 @@ public class TestBackwardsCompatibility int hasTested29 = 0; for(int i=0;i