/hg/gfx-test: Fixed comments and added new tests to the test suite

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Thu Nov 1 02:47:19 PDT 2012


changeset 1368deeafc02 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=1368deeafc02
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Thu Nov 01 10:49:40 2012 +0100

	Fixed comments and added new tests to the test suite
	src/org/gfxtest/testsuites/BitBltBasicTests.java


diffstat:

 ChangeLog                                        |    5 +
 src/org/gfxtest/testsuites/BitBltBasicTests.java |  345 +++++++++++++++++------
 2 files changed, 260 insertions(+), 90 deletions(-)

diffs (truncated from 994 to 500 lines):

diff -r f649871e5624 -r 1368deeafc02 ChangeLog
--- a/ChangeLog	Tue Oct 23 12:11:13 2012 +0200
+++ b/ChangeLog	Thu Nov 01 10:49:40 2012 +0100
@@ -1,3 +1,8 @@
+2012-11-01  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/BitBltBasicTests.java:
+	Fixed comments and added new tests to this test suite.
+
 2012-10-23  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/PrintTestBitBltMirrorImage.java:
diff -r f649871e5624 -r 1368deeafc02 src/org/gfxtest/testsuites/BitBltBasicTests.java
--- a/src/org/gfxtest/testsuites/BitBltBasicTests.java	Tue Oct 23 12:11:13 2012 +0200
+++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java	Thu Nov 01 10:49:40 2012 +0100
@@ -81,7 +81,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -96,7 +96,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -111,7 +111,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -126,7 +126,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_BINARY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -141,7 +141,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_INT_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -156,7 +156,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -171,7 +171,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -186,7 +186,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_INT_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -201,7 +201,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_565_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -216,7 +216,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_555_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -231,7 +231,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_BYTE_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -246,7 +246,7 @@
      * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -261,7 +261,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_BINARY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -276,7 +276,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -291,7 +291,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -306,7 +306,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -321,7 +321,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -336,7 +336,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -351,7 +351,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_4BYTE_ABGR_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -366,7 +366,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -381,7 +381,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -396,7 +396,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_565_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -411,7 +411,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -426,7 +426,7 @@
      * Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -441,7 +441,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_BINARY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -456,7 +456,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -471,7 +471,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -486,7 +486,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -501,7 +501,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -516,7 +516,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_4BYTE_ABGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -531,7 +531,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_4BYTE_ABGR_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -546,7 +546,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -561,7 +561,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -576,7 +576,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_565_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -591,7 +591,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_USHORT_555_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -606,7 +606,7 @@
      * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -621,7 +621,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_BYTE_BINARY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -636,7 +636,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_INT_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -651,7 +651,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_INT_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -666,7 +666,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_INT_ARGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -681,7 +681,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_INT_ARGB_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -696,7 +696,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -711,7 +711,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -726,7 +726,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_BYTE_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -741,7 +741,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_USHORT_GRAY.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -756,7 +756,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_USHORT_565_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -771,7 +771,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_USHORT_555_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -786,7 +786,7 @@
      * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -802,7 +802,7 @@
      * TYPE_BYTE_BINARY.
      * 
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -817,7 +817,7 @@
      * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_INT_RGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -832,7 +832,7 @@
      * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_INT_BGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -847,7 +847,7 @@
      * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_INT_ARGB.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -862,7 +862,7 @@
      * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_INT_ARGB_PRE.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas
      * @return test result status - PASSED, FAILED or ERROR
@@ -877,7 +877,7 @@
      * Test basic BitBlt operation for diagonal grid buffered image with type TYPE_4BYTE_ABGR.
      *
      * @param image
-     *            image to which line is to be drawn
+     *            image to used as a destination for BitBlt-type operations
      * @param graphics2d
      *            graphics canvas



More information about the distro-pkg-dev mailing list