harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [testing][support] Where to place xxxTestCase support classes
Date Tue, 31 Oct 2006 12:59:50 GMT
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 <alexey.a.ivanov@intel.com>:
> 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

Mime
View raw message