harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r673361 - /harmony/enhanced/classlib/trunk/modules/awt/src/test/impl/boot/java/awt/image/RasterTest.java
Date Wed, 02 Jul 2008 11:24:14 GMT
Author: hindessm
Date: Wed Jul  2 04:24:14 2008
New Revision: 673361

URL: http://svn.apache.org/viewvc?rev=673361&view=rev
Log:
Applying minimal change to fix "[#HARMONY-5816] The RasterTest fails due
to the failing of testGetPixels() method".

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/test/impl/boot/java/awt/image/RasterTest.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/impl/boot/java/awt/image/RasterTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/impl/boot/java/awt/image/RasterTest.java?rev=673361&r1=673360&r2=673361&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/impl/boot/java/awt/image/RasterTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/impl/boot/java/awt/image/RasterTest.java
Wed Jul  2 04:24:14 2008
@@ -108,7 +108,7 @@
         // Regression test for HARMONY-2875
         try {
             Raster.createRaster(new BandedSampleModel(1, 2, 3, 4),
-                    new DataBufferByte(new byte[191], 5),
+                    new DataBufferByte(new byte[191], 6),
                     new Point(new Point(28, 43))).getPixels(6,
                     Integer.MAX_VALUE, 1, 0, new int[] {});
             fail("ArrayIndexOutOfBoundsException should be thrown"); //$NON-NLS-1$



Mime
View raw message