You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2006/06/15 17:45:31 UTC
[jira] Created: (HARMONY-609) AWT, Java2D and SWING tests
AWT, Java2D and SWING tests
---------------------------
Key: HARMONY-609
URL: http://issues.apache.org/jira/browse/HARMONY-609
Project: Harmony
Type: Test
Components: Contributions
Reporter: Alexey Petrenko
Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Re: [jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by Igor Stolyarov <ig...@gmail.com>.
I've checked integration on Win and Linux platform. I've noted one small
problem and have put patch into the JIRA. That patch is copying images
which are required for Swing tests. On Linux platform I've run awt tests on
SUSE 9.2 locally and RH EL R3 under Exceed. On SUSE there were no errors
while running AWT tests, but some of them failed (26 tests). Under Exceed
several tests hung, but not always. Now we are waiting for integration
of our changes into AWT and SWING modules. After that we will be able to
check all our tests, because this integration includes changes in these
tests.
On 8/3/06, Mark Hindess (JIRA) <ji...@apache.org> wrote:
> [
> http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12425476]
>
> Mark Hindess commented on HARMONY-609:
> --------------------------------------
>
> Applied in r428293 using a modified script - using "svn move" instead of
> "mv" - to preserve history properly. Please can you check it has been
> applied as expected.
>
> I've left the awt and swing tests disabled by default since:
>
> 1) Many of them fail on my Debian linux box,
>
> 2) The tests seem to "grab" the mouse cursor (and if that wasn't bad
> enough, not free it properly) and ultimately mess up my window manager (fvwm
> - yes I know it's archaic! ;-), and
>
> 3) Running against an Xnest display the tests (sometimes) hang on the
> java.awt.ButtonTest.
>
> I plan to test using Xvfb to see if that is any better and to avoid
> breaking my desktop.
>
> We probably should have a mechanism to avoid running tests requiring a
> display on headless servers.
>
>
> > AWT, Java2D and SWING tests
> > ---------------------------
> >
> > Key: HARMONY-609
> > URL: http://issues.apache.org/jira/browse/HARMONY-609
> > Project: Harmony
> > Issue Type: Test
> > Components: Contributions
> > Reporter: Alexey Petrenko
> > Assigned To: Mark Hindess
> > Attachments: awt_swing_tests.zip, awt_swing_xml.patch,
> BasicSwingTestCase.patch, test_done.sh
> >
> >
> > Here is tests for the AWT and SWING modules
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
--
Igor V. Stolyarov
Intel Middleware Products Division
Re: [jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by Igor Stolyarov <ig...@gmail.com>.
Mark, may be you will move resources from
awt/src/test/api/java/common/java/awt/serialization,
awt/src/test/api/java/common/java/awt/shapes,
awt/src/test/api/java/common/java/awt/geom/serialization,
awt/src/test/api/java/common/java/awt/geom/shapes too?
On 8/8/06, Igor Stolyarov <ig...@gmail.com> wrote:
>
> I've checked, works for me.
>
>
> On 8/8/06, Mark Hindess (JIRA) <ji...@apache.org> wrote:
> >
> > [ http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12426521
> > ]
> >
> > Mark Hindess commented on HARMONY-609:
> > --------------------------------------
> >
> > I've made a change similar to the copying images patch (but more in
> > keeping with other modules) in r429624.
> >
> >
> > > AWT, Java2D and SWING tests
> > > ---------------------------
> > >
> > > Key: HARMONY-609
> > > URL: http://issues.apache.org/jira/browse/HARMONY-609
> > > Project: Harmony
> > > Issue Type: Test
> > > Components: Contributions
> > > Reporter: Alexey Petrenko
> > > Assigned To: Mark Hindess
> > > Attachments: awt_swing_tests.zip, awt_swing_xml.patch,
> > BasicSwingTestCase.patch, swing_build_xml.patch, test_done.sh
> > >
> > >
> > > Here is tests for the AWT and SWING modules
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > If you think it was sent incorrectly contact one of the administrators:
> > http://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see: http://www.atlassian.com/software/jira
> >
> >
> >
> >
>
>
> --
> Igor V. Stolyarov
> Intel Middleware Products Division
>
--
Igor V. Stolyarov
Intel Middleware Products Division
Re: [jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by Igor Stolyarov <ig...@gmail.com>.
I've checked, works for me.
On 8/8/06, Mark Hindess (JIRA) <ji...@apache.org> wrote:
>
> [
> http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12426521]
>
> Mark Hindess commented on HARMONY-609:
> --------------------------------------
>
> I've made a change similar to the copying images patch (but more in
> keeping with other modules) in r429624.
>
>
> > AWT, Java2D and SWING tests
> > ---------------------------
> >
> > Key: HARMONY-609
> > URL: http://issues.apache.org/jira/browse/HARMONY-609
> > Project: Harmony
> > Issue Type: Test
> > Components: Contributions
> > Reporter: Alexey Petrenko
> > Assigned To: Mark Hindess
> > Attachments: awt_swing_tests.zip, awt_swing_xml.patch,
> BasicSwingTestCase.patch, swing_build_xml.patch, test_done.sh
> >
> >
> > Here is tests for the AWT and SWING modules
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
--
Igor V. Stolyarov
Intel Middleware Products Division
[jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12422371 ]
Mark Hindess commented on HARMONY-609:
--------------------------------------
Checked in to svn as modules/awt_swing_tests. Proper integration is not straightforward so I'd appreciate some patches to help with the full integration - preferably a recipe/script of moves and diffs including the changes to the build.xml files.
For example, the accessibility tests are mixed in with the swing tests and they really should be moved to the accessibility module. But they are also derived from some swing test base classes which would need to be moved to the test support jar.
None of the tests follow the current naming conventions and it is unclear which tests must be injected on to the bootclasspath and which do not need to be. (At the moment, most need to be because they are in the same package as the code they test not in the agreed package names for tests.)
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=all ]
Mark Hindess closed HARMONY-609.
--------------------------------
Resolution: Fixed
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip, awt_swing_xml.patch, BasicSwingTestCase.patch, swing_build_xml.patch, test_done.sh
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12426521 ]
Mark Hindess commented on HARMONY-609:
--------------------------------------
I've made a change similar to the copying images patch (but more in keeping with other modules) in r429624.
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip, awt_swing_xml.patch, BasicSwingTestCase.patch, swing_build_xml.patch, test_done.sh
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Igor V. Stolyarov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=all ]
Igor V. Stolyarov updated HARMONY-609:
--------------------------------------
Attachment: awt_swing_xml.patch
BasicSwingTestCase.patch
test_done.sh
These are patches and script for integration of awt_swing_tests.
Step for intergation tests:
1. Put all files into harmony/enhanced/classlib/trunk/modules directory
2. Run test_done script
That's all :)
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip, awt_swing_xml.patch, BasicSwingTestCase.patch, test_done.sh
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Igor V. Stolyarov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=all ]
Igor V. Stolyarov updated HARMONY-609:
--------------------------------------
Attachment: swing_build_xml.patch
This patch is copying images which are needed for Swing tests
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip, awt_swing_xml.patch, BasicSwingTestCase.patch, swing_build_xml.patch, test_done.sh
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=all ]
Alexey Petrenko updated HARMONY-609:
------------------------------------
Attachment: awt_swing_tests.zip
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Attachments: awt_swing_tests.zip
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=all ]
Mark Hindess reassigned HARMONY-609:
------------------------------------
Assignee: Mark Hindess
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Sergey Soldatov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12422625 ]
Sergey Soldatov commented on HARMONY-609:
-----------------------------------------
Ok. We'll do this, so just keep it unchanged for few days.
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12425476 ]
Mark Hindess commented on HARMONY-609:
--------------------------------------
Applied in r428293 using a modified script - using "svn move" instead of "mv" - to preserve history properly. Please can you check it has been applied as expected.
I've left the awt and swing tests disabled by default since:
1) Many of them fail on my Debian linux box,
2) The tests seem to "grab" the mouse cursor (and if that wasn't bad enough, not free it properly) and ultimately mess up my window manager (fvwm - yes I know it's archaic! ;-), and
3) Running against an Xnest display the tests (sometimes) hang on the java.awt.ButtonTest.
I plan to test using Xvfb to see if that is any better and to avoid breaking my desktop.
We probably should have a mechanism to avoid running tests requiring a display on headless servers.
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Issue Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Assigned To: Mark Hindess
> Attachments: awt_swing_tests.zip, awt_swing_xml.patch, BasicSwingTestCase.patch, test_done.sh
>
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-609) AWT, Java2D and SWING tests
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-609?page=comments#action_12420754 ]
Geir Magnusson Jr commented on HARMONY-609:
-------------------------------------------
Contribution accepted via vote on dev list
> AWT, Java2D and SWING tests
> ---------------------------
>
> Key: HARMONY-609
> URL: http://issues.apache.org/jira/browse/HARMONY-609
> Project: Harmony
> Type: Test
> Components: Contributions
> Reporter: Alexey Petrenko
> Attachments: awt_swing_tests.zip
>
> Here is tests for the AWT and SWING modules
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira