harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1954) [classlib][awt] Unit tests for image decoders.
Date Wed, 28 Mar 2007 14:18:26 GMT

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

Mark Hindess commented on HARMONY-1954:
---------------------------------------

gif works.

png gives:

  Failure  expected:<-1> but was:<-16777216>
           junit.framework.AssertionFailedError: expected:<-1> but was:
           <-16777216> at
           org.apache.harmony.awt.gl.image.ImageDecoderTest.decodeImage
           (ImageDecoderTest.java:63) at
           org.apache.harmony.awt.gl.image.ImageDecoderTest.testDecodeIm
           (ImageDecoderTest.java:44)

and the following on stderr:

java.lang.RuntimeException: Decompression Error
        at org.apache.harmony.awt.gl.image.PngDecoder.decode(Native Method)
        at org.apache.harmony.awt.gl.image.PngDecoder.decodeImage(PngDecoder.jav
        at org.apache.harmony.awt.gl.image.DecodingImageSource.load(DecodingImag
        at org.apache.harmony.awt.gl.image.ImageLoader.run(ImageLoader.java:154)


jpg crashes silently.


> [classlib][awt] Unit tests for image decoders.
> ----------------------------------------------
>
>                 Key: HARMONY-1954
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1954
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Oleg Khaschansky
>         Assigned To: Mark Hindess
>            Priority: Minor
>         Attachments: HARMONY-1954-build.xml.patch, HARMONY-1954-ImageDecoderTest.patch,
harmony-1954.patch, harmony-1954.zip
>
>
> Unit tests for the following classes:
> org.apache.harmony.awt.gl.image.GifDecoder
> org.apache.harmony.awt.gl.image.JpegDecoder
> org.apache.harmony.awt.gl.image.PngDecoder

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


Mime
View raw message