/hg/gfx-test: Eleven new tests added into the test suite BitBltB...
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Wed Feb 20 00:45:10 PST 2013
changeset d21641709049 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=d21641709049
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Wed Feb 20 09:48:18 2013 +0100
Eleven new tests added into the test suite BitBltBasicTests.java.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltBasicTests.java | 167 +++++++++++++++++++++++
2 files changed, 172 insertions(+), 0 deletions(-)
diffs (189 lines):
diff -r 7db8a30325b5 -r d21641709049 ChangeLog
--- a/ChangeLog Tue Feb 19 09:37:03 2013 +0100
+++ b/ChangeLog Wed Feb 20 09:48:18 2013 +0100
@@ -1,3 +1,8 @@
+2013-02-20 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltBasicTests.java:
+ Eleven new tests added into the test suite BitBltBasicTests.java.
+
2013-02-19 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/Paths.java:
diff -r 7db8a30325b5 -r d21641709049 src/org/gfxtest/testsuites/BitBltBasicTests.java
--- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Tue Feb 19 09:37:03 2013 +0100
+++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Wed Feb 20 09:48:18 2013 +0100
@@ -2625,6 +2625,173 @@
}
/**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_INT_RGB.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeIntRGB(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_INT_RGB);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_INT_BGR.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeIntBGR(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_INT_BGR);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_INT_ARGB.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeIntARGB(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_INT_ARGB_PRE.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeIntARGB_Pre(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_4BYTE_ABGR.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageType4ByteABGR(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_4BYTE_ABGR_PRE.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageType4ByteABGR_PRE(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR_PRE);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_BYTE_GRAY.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeByteGray(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_BYTE_GRAY);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_USHORT_GRAY.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeUshortGray(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_USHORT_GRAY);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_USHORT_565_RGB.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeUshort565RGB(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_USHORT_565_RGB);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_USHORT_555_RGB.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageTypeUshort555RGB(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_USHORT_555_RGB);
+ }
+
+ /**
+ * Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_3BYTE_BGR.
+ *
+ * @param image
+ * image used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltVerticalGrayscaleGradientBufferedImageType3ByteBGR(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_3BYTE_BGR);
+ }
+
+
+
+ /**
* Test basic BitBlt operation for horizontal red gradient buffered image
* with type TYPE_BYTE_BINARY.
*
More information about the distro-pkg-dev
mailing list