harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1717) [classlib][awt]Junit AWTRunner does not display progress bar
Date Mon, 12 Feb 2007 14:55:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472308

Andrey Pavlenko commented on HARMONY-1717:

This issue is caused by incorrect handling of an image content. The following test case demonstrates
the issue:

    public void test() throws IOException {
        assertTrue(BaseTestRunner.class.getResource("smalllogo.gif") //$NON-NLS-1$
                .getContent() instanceof ImageProducer);

In the Junit UI implementation it's expected that the object, returned by URL.getContent()
should be of type java.awt.image.ImageProducer but on Harmony this object is of type JarURLConnectionInputStream.
So, the issue is in the URL content handler, but not in AWT. 

Ilya, could you please change the component to [luni]?

> [classlib][awt]Junit AWTRunner does not display progress bar
> ------------------------------------------------------------
>                 Key: HARMONY-1717
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1717
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
> AWTRunner does not display progress bar
> Steps to Reproduce:
> 1. java -cp junit.jar junit.awtui.TestRunner
> 2. Run any test with errors. 
> 3. Observe AWTRunner screen
> Actual result: Test execution progress bar is not displayed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message