Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 10182 invoked from network); 22 Apr 2006 14:35:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Apr 2006 14:35:51 -0000 Received: (qmail 98768 invoked by uid 500); 22 Apr 2006 14:35:49 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 98033 invoked by uid 500); 22 Apr 2006 14:35:47 -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 98022 invoked by uid 99); 22 Apr 2006 14:35:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 07:35:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of firepure@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nproxy.gmail.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 07:35:46 -0700 Received: by nproxy.gmail.com with SMTP id p48so532028nfa for ; Sat, 22 Apr 2006 07:35:25 -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:references; b=GeF/kvkKkePGA9xUcQqWY7wbsECYUqiAN67zaagyst2KHyziwKUQNKwALnJlb3txgbQ50bZIMUKKcU/AFPYIM354smnkO9m51DTToGM4uGm1fuxWbsATdf/NwZyPhPfMVg8Gaqj5irN5nNZ3xvdc0ASypb6tdbLp7NHrt/UwH2Y= Received: by 10.48.205.14 with SMTP id c14mr1886579nfg; Sat, 22 Apr 2006 07:35:25 -0700 (PDT) Received: by 10.49.33.4 with HTTP; Sat, 22 Apr 2006 07:35:25 -0700 (PDT) Message-ID: <5c8e69f0604220735u69ecb554redcdb35dd983621e@mail.gmail.com> Date: Sat, 22 Apr 2006 22:35:25 +0800 From: "=?GB2312?B?THZKaW1teaOsSmluZw==?=" To: harmony-dev@incubator.apache.org Subject: Re: Do we mix up regression and unit tests? In-Reply-To: <98e7db8d0604210730n58d5a74bq7eaaf396f7e46a14@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10064_25019403.1145716525470" References: <98e7db8d0604210730n58d5a74bq7eaaf396f7e46a14@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_10064_25019403.1145716525470 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi: I take a look at the directory, it is really confusion. However currently tests are put in luni/src/test/java/tests/api/java/net, I'm quite sure that a unit test of api class method must be add to that directory. And I'm not sure what does regression-test you mean here. In my understanding, if someone want to add some regression tests to test APIs, i= t can be added directly to the API test files if any, it is not necessary to open a new file. And here, the regression test can be added to tests in luni/src/test/java/tests/api/java/net. (And please notice perhaps some test= s are in excluded-list, e.g. Socket or ServerSocket test, I dont remember ver= y clearly :) ) Your comments? > 2006/4/21, Dmitry M. Kononov : > > Hi, > > Could somebody please explain me do we mix up regression and unit tests? > > I noticed that the luni module has two kind of test packages (under > the luni/src/test/java directory). A name of one of them starts with > the "org.apache.harmony.tests" string. Another one starts with the > "tests" string. > What the package should I use to add > 1) a regression test? > 2) a unit test of, say, just added api class method? > > Thanks. > -- > Dmitry M. Kononov > Intel Managed Runtime 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 > > -- Best Regards! Jimmy, Jing Lv China Software Development Lab, IBM ------=_Part_10064_25019403.1145716525470--