commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1696448 - /commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java
Date Tue, 18 Aug 2015 15:46:40 GMT
Author: sebb
Date: Tue Aug 18 15:46:40 2015
New Revision: 1696448

URL: http://svn.apache.org/r1696448
Log:
See if this fixes the Continuum test failure

Modified:
    commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java?rev=1696448&r1=1696447&r2=1696448&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcFullDiscardTest.java
Tue Aug 18 15:46:40 2015
@@ -38,7 +38,7 @@ public class IptcFullDiscardTest {
     }
     
     private byte[] generateImage() throws Exception {
-        BufferedImage image = new BufferedImage(100, 50, BufferedImage.TYPE_INT_ARGB);
+        BufferedImage image = new BufferedImage(100, 50, BufferedImage.TYPE_3BYTE_BGR); //
was TYPE_INT_ARGB but that fails on Continuum
         Graphics2D graphics2D = image.createGraphics();
         graphics2D.drawString("Hello World!", 10, 10);
         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();



Mime
View raw message