/hg/gfx-test: Ten new tests added into BitBltBasicTests.
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Wed Apr 2 07:34:26 UTC 2014
changeset f3450f0039de in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=f3450f0039de
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Wed Apr 02 09:35:07 2014 +0200
Ten new tests added into BitBltBasicTests.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltBasicTests.java | 150 +++++++++++++++++++++++
2 files changed, 155 insertions(+), 0 deletions(-)
diffs (235 lines):
diff -r 026d5f07528c -r f3450f0039de ChangeLog
--- a/ChangeLog Tue Apr 01 11:41:18 2014 +0200
+++ b/ChangeLog Wed Apr 02 09:35:07 2014 +0200
@@ -1,3 +1,8 @@
+2014-04-02 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltBasicTests.java:
+ Ten new tests added into BitBltBasicTests.
+
2014-04-01 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
diff -r 026d5f07528c -r f3450f0039de src/org/gfxtest/testsuites/BitBltBasicTests.java
--- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Tue Apr 01 11:41:18 2014 +0200
+++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Wed Apr 02 09:35:07 2014 +0200
@@ -4077,6 +4077,21 @@
}
/**
+ * Test basic BitBlt operation for vertical green gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltVerticalGreenGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGreenGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal blue gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -4274,6 +4289,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal blue gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltHorizontalBlueGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalBlueGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical blue gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -4471,6 +4501,21 @@
}
/**
+ * Test basic BitBlt operation for vertical blue gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltVerticalBlueGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalBlueGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal cyan gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -4668,6 +4713,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal cyan gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltHorizontalCyanGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalCyanGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical cyan gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -4865,6 +4925,21 @@
}
/**
+ * Test basic BitBlt operation for vertical cyan gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltVerticalCyanGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalCyanGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal magenta gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -5062,6 +5137,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal magenta gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltHorizontalMagentaGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalMagentaGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical magenta gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -5259,6 +5349,21 @@
}
/**
+ * Test basic BitBlt operation for vertical magenta gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltVerticalMagentaGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalMagentaGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal yellow gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -5456,6 +5561,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal yellow gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltHorizontalYellowGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalYellowGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical yellow gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -5653,6 +5773,21 @@
}
/**
+ * Test basic BitBlt operation for vertical yellow gradient buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltVerticalYellowGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalYellowGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -5850,6 +5985,21 @@
}
/**
+ * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM.
+ *
+ * @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 testBitBltRGBTexture1BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithRGBTexture1Image(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR.
*
* @param image
More information about the distro-pkg-dev
mailing list