/hg/gfx-test: 2012-02-15 Pavel Tisnovsky <ptisnovs at redhat.com>
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Wed Feb 15 00:20:22 PST 2012
changeset d1727dc0e833 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=d1727dc0e833
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Wed Feb 15 09:22:14 2012 +0100
2012-02-15 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltMirrorImage.java:
Added twelve new tests to this test suite.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltMirrorImage.java | 240 ++++++++++++++++++++++
2 files changed, 245 insertions(+), 0 deletions(-)
diffs (262 lines):
diff -r 7c4991ec0195 -r d1727dc0e833 ChangeLog
--- a/ChangeLog Fri Feb 03 10:32:12 2012 +0100
+++ b/ChangeLog Wed Feb 15 09:22:14 2012 +0100
@@ -1,3 +1,8 @@
+2012-02-15 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltMirrorImage.java:
+ Added twelve new tests to this test suite.
+
2012-02-03 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltBasicTests.java:
diff -r 7c4991ec0195 -r d1727dc0e833 src/org/gfxtest/testsuites/BitBltMirrorImage.java
--- a/src/org/gfxtest/testsuites/BitBltMirrorImage.java Fri Feb 03 10:32:12 2012 +0100
+++ b/src/org/gfxtest/testsuites/BitBltMirrorImage.java Wed Feb 15 09:22:14 2012 +0100
@@ -136,6 +136,246 @@
}
/**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB.
+ * No flip is performed to that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntRGBNoFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, false, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB.
+ * Horizontal flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntRGBHorizontalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, true, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB.
+ * Vertical flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntRGBVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, false, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB.
+ * Horizontal and vertical flip is performed on that image..
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntRGBHorizontalAndVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, true, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR.
+ * No flip is performed to that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntBGRNoFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, false, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR.
+ * Horizontal flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntBGRHorizontalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, true, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR.
+ * Vertical flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntBGRVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, false, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR.
+ * Horizontal and vertical flip is performed on that image..
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntBGRHorizontalAndVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, true, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB.
+ * No flip is performed to that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGBNoFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, false, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB.
+ * Horizontal flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGBHorizontalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, true, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB.
+ * Vertical flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGBVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, false, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB.
+ * Horizontal and vertical flip is performed on that image..
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGBHorizontalAndVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, true, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB_PRE.
+ * No flip is performed to that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGB_PreNoFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, false, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB_PRE.
+ * Horizontal flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGB_PreHorizontalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, true, false);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB_PRE.
+ * Vertical flip is performed on that image.
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGB_PreVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, false, true);
+ }
+
+ /**
+ * Test basic BitBlt operation for checker buffered image with type TYPE_INT_ARGB_PRE.
+ * Horizontal and vertical flip is performed on that image..
+ *
+ * @param image
+ * image to which line is to be drawn
+ * @param graphics2d
+ * graphics canvas
+ * @return
+ */
+ public TestResult testBitBltCheckerBufferedImageTypeIntARGB_PreHorizontalAndVerticalFlip(TestImage image, Graphics2D graphics2d)
+ {
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, true, true);
+ }
+
+ /**
* Entry point to the test suite.
*
* @param args not used in this case
More information about the distro-pkg-dev
mailing list