Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 81576 invoked from network); 31 Oct 2006 13:00:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 13:00:20 -0000 Received: (qmail 54402 invoked by uid 500); 31 Oct 2006 13:00:30 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 54349 invoked by uid 500); 31 Oct 2006 13:00:29 -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 54340 invoked by uid 99); 31 Oct 2006 13:00:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 05:00:29 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alexei.zakharov@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 05:00:16 -0800 Received: by ug-out-1314.google.com with SMTP id y2so1733616uge for ; Tue, 31 Oct 2006 04:59:51 -0800 (PST) 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=rWfEnHdREetRVklyhOHMxMYGF3zDjbKtkehfQ1q9r1anty3K5sdGVK1vCD4cQU8Mb+xuOUgqo4jhcqKNYA7GgH9231t90TrMD5VrIHxp8Iw3zs7Q8pcqnz5+rqD4QPB63zBimCjINEc+vATzwcrb4W6+03UbdxNRGKZaJwmQSuI= Received: by 10.78.97.7 with SMTP id u7mr6735031hub; Tue, 31 Oct 2006 04:59:50 -0800 (PST) Received: by 10.78.183.12 with HTTP; Tue, 31 Oct 2006 04:59:50 -0800 (PST) Message-ID: <2c9597b90610310459n4feef426kfa2bf85bf98cacbe@mail.gmail.com> Date: Tue, 31 Oct 2006 15:59:50 +0300 From: "Alexei Zakharov" To: harmony-dev@incubator.apache.org Subject: Re: [testing][support] Where to place xxxTestCase support classes In-Reply-To: <8E389A5F2FEABA4CB1DEC35A25CB39CE695125@mssmsx411> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8E389A5F2FEABA4CB1DEC35A25CB39CE695125@mssmsx411> X-Virus-Checked: Checked by ClamAV on apache.org FYI in beans we have the following folders for this purpose: src/test/support/java/org/apache/harmony/beans/tests/support src/test/support/java/org/apache/harmony/beans/tests/support/mock Thanks, 2006/10/31, Ivanov, Alexey A : > Hi all, > > Both AWT and Swing modules have testing support classes. Some of them > are extensions of junit.framework.TestCase which provide some utility > methods for tests. To mention several: AWTTestCase, ShapeTestCase, > BasicSwingTestCase, SwingTestCase. There are test cases which extend > these classes. > There are also several classes which provide special mock objects, > fields, for example ViewTestHelpers, DefStyledDoc_Helpers. > > The question about support classes was discussed [1] but no decision was > taken. > The bad thing about these classes is that: > * some are stored along with tests utilizing these classes > (modules/awt/src/test/api/java/common/java/awt/), > * some are stored in support folder > (support/src/test/java/javax/swing/). > > > I think we should decide where such classes are to be stored. And move > them appropriately. > > Comments, opinions? > > Regards, > Alexey. > > > [1] > http://thread.gmane.org/gmane.comp.java.harmony.devel/9487/focus=9561 > > P.S. Mikhail, did you add the text from the message above into any doc? -- Alexei Zakharov, Intel Enterprise Solutions Software Division