harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivanov, Alexey A" <alexey.a.iva...@intel.com>
Subject [testing][support] Where to place xxxTestCase support classes
Date Tue, 31 Oct 2006 11:54:55 GMT
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? 


--
Alexey A. Ivanov
Intel Middleware Product Division

Mime
View raw message