From harmony-dev-return-14742-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Mon Oct 02 07:53:15 2006 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 32103 invoked from network); 2 Oct 2006 07:53:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 07:53:14 -0000 Received: (qmail 34925 invoked by uid 500); 2 Oct 2006 07:53:11 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 34682 invoked by uid 500); 2 Oct 2006 07:53:10 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 34671 invoked by uid 99); 2 Oct 2006 07:53:10 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 00:53:10 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=alexey.a.petrenko@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.82.238] ([66.249.82.238:48258] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 29/90-16499-365C0254 for ; Mon, 02 Oct 2006 00:53:08 -0700 Received: by wx-out-0506.google.com with SMTP id s13so1655957wxc for ; Mon, 02 Oct 2006 00:53:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gm97CQ9zfafRI56bHxn4UYHhMfx+15TO4ch0+tPHdj+vPbD8vNnZlSKOeIEhurvBxctu9O7TnnoHQzmxdCC/RCXcIir0d0wL/kVRIJVkdfEJf6gHX3+BhuBWBBBgcxEcd9f+BKHuaujrBhly7UxzgywLCm2iz6nIFwWSt2x1cmQ= Received: by 10.70.18.11 with SMTP id 11mr6182843wxr; Mon, 02 Oct 2006 00:53:05 -0700 (PDT) Received: by 10.70.36.4 with HTTP; Mon, 2 Oct 2006 00:53:04 -0700 (PDT) Message-ID: Date: Mon, 2 Oct 2006 11:53:04 +0400 From: "Alexey Petrenko" To: harmony-dev@incubator.apache.org Subject: Re: [classlib][test] Test input/output files location In-Reply-To: <451D4E68.3020104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <834b3bd50609280444w60597dh8221e39c753fdf5c@mail.gmail.com> <451D4E68.3020104@gmail.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 2006/9/29, Paulex Yang : > Denis Kishenko wrote: > > I am going to fix some commented tests from java.awt.geom package. I > > have several organizational questions before start to do. > > > > 1. Where is the best place to put test resource files (golden files)? > > Testing conventions [1] keep silence about this. There are many such > > files located near the tests, for example > > modules\awt\src\test\api\java\common\java\awt\geom\shapes\* > > modules\awt\src\test\api\java\common\java\awt\shapes\* > I cannot find it in the archive, but IIRC, this topic was discussed > before, and the conclusion was they should be in the > modules\awt\src\test\resources\ > > > > 2. Where is the best place to put test output files? Now it is > > modules\awt\bin\test\java\awt\shapes\output > > modules\awt\bin\test\java\awt\geom\shapes\output > If they are used temporarily, they should be removed after the test > execution, so IMHO the position is not so significant, but maybe the > user temp directory is good place to go. I think that File.createTempFile and File.deleteOnExit are good here. SY, Alexey -- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org