Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 91559 invoked from network); 12 Mar 2006 01:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Mar 2006 01:30:39 -0000 Received: (qmail 61919 invoked by uid 500); 12 Mar 2006 01:30:36 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 61868 invoked by uid 500); 12 Mar 2006 01:30:36 -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 61855 invoked by uid 99); 12 Mar 2006 01:30:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 17:30:36 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 64.74.244.71 is neither permitted nor denied by domain of geir@pobox.com) Received: from [64.74.244.71] (HELO chi.mobile-health-diary.com) (64.74.244.71) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 11 Mar 2006 17:30:35 -0800 Received: (qmail 24631 invoked from network); 12 Mar 2006 01:30:12 -0000 Received: from ool-43560634.dyn.optonline.net (HELO ?192.168.1.104?) (geir@67.86.6.52) by b014.internal.mobile-health-diary.com with SMTP; 12 Mar 2006 01:30:12 -0000 Message-ID: <44137957.6060000@pobox.com> Date: Sat, 11 Mar 2006 20:28:55 -0500 From: Geir Magnusson Jr Reply-To: geir@pobox.com User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: Location of test data files References: <176117377.1141718258821.JavaMail.jira@ajax> <440D3FD9.3060000@gmail.com> <440D6A11.20106@googlemail.com> <906dd82e0603070337r45239913h@mail.gmail.com> <440D743B.6010306@googlemail.com> <906dd82e0603070426i5c23890di@mail.gmail.com> <440D8CF2.4030304@pobox.com> <906dd82e0603070628n7578952dh@mail.gmail.com> <440E91F5.6020406@gmail.com> <44106708.2000406@googlemail.com> <906dd82e0603100109r4f50bae0l@mail.gmail.com> <4411B8E2.1060206@googlemail.com> <4411D168.3060607@googlemail.com> <44126B5C.1020104@gmail.com> In-Reply-To: <44126B5C.1020104@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Richard Liang wrote: > George Harley wrote: >> Hi Mikhail (again), >> >> Just a couple of brief observations about the SerializationTest.java >> code as it stands in SVN today : >> >> 1) The reference/golden .dat files for Serializable classes in a given >> module could be added under the module's src/test/resources directory >> (in sub-folders corresponding to their package names). In an Ant build >> these would be copied under the test bin using a tweaked version of >> the "copy-test-resources" target (see the proposed changes to >> make/build-java.xml contained in the HARMONY-57). At runtime this >> would make the .dat files available from the classpath. >> > Hello George, > > It's good to put all test data files for one module into one folder, > such as "src/test/resources". However, there may be other options, > personally I'd like to put the test data file into the same directory of > the test case which uses the data file. This may make the maintenance > work easy. :-) Yes - for maintenance and name collision, this makes sense. That is how security does it now. geir