harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1919) [classlib][swing][test] unit test fails: j.s.ProgressMonitorTest
Date Thu, 19 Oct 2006 13:07:36 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1919?page=all ]

Alexey A. Ivanov updated HARMONY-1919:
--------------------------------------

    Attachment: H1919-j.s.ProgressMonitorTest.patch

All the code with access to swing components has been moved to be executed on the Event Dispatch
Thread.
This improves stability of the test.

> [classlib][swing][test] unit test fails: j.s.ProgressMonitorTest
> ----------------------------------------------------------------
>
>                 Key: HARMONY-1919
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1919
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Alexey A. Ivanov
>         Attachments: H1919-j.s.ProgressMonitorTest.patch
>
>
> javax.swing.ProgressMonitorTest
> testIsCancelled(javax.swing.ProgressMonitorTest)
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertTrue(Assert.java:27)
> 	at javax.swing.ProgressMonitorTest.testIsCancelled(ProgressMonitorTest.java:116)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:258)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
> 	at javax.swing.BasicSwingTestCase.runBareImpl(BasicSwingTestCase.java:122)
> 	at javax.swing.BasicSwingTestCase$2.run(BasicSwingTestCase.java:136)
> 	at java.lang.Thread.run(Thread.java:872)
> Also this test can fail with
> testGetSetMaximum(javax.swing.ProgressMonitorTest)junit.framework.AssertionFailedError:
Test interrupted due timeout
>      at javax.swing.BasicSwingTestCase.runBare(BasicSwingTestCase.java:147)

-- 
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

        

Mime
View raw message