/hg/gfx-test: Added five new tests into BitBltUsingBgColorAlpha.
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Mon Mar 7 12:28:44 UTC 2016
changeset 2085510c58b9 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=2085510c58b9
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Mon Mar 07 13:32:38 2016 +0100
Added five new tests into BitBltUsingBgColorAlpha.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java | 75 +++++++++++++++++
2 files changed, 80 insertions(+), 0 deletions(-)
diffs (97 lines):
diff -r fabb13547a53 -r 2085510c58b9 ChangeLog
--- a/ChangeLog Tue Feb 16 13:40:16 2016 +0100
+++ b/ChangeLog Mon Mar 07 13:32:38 2016 +0100
@@ -1,3 +1,8 @@
+2016-03-07 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java:
+ Added five new tests into BitBltUsingBgColorAlpha.
+
2016-02-16 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java:
diff -r fabb13547a53 -r 2085510c58b9 src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java Tue Feb 16 13:40:16 2016 +0100
+++ b/src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java Mon Mar 07 13:32:38 2016 +0100
@@ -3133,6 +3133,81 @@
}
/**
+ * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}.
+ * Background color is set to Color.magenta.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltEmptyBufferedImageTypeIntARGBPreBackgroundMagentaAlpha000(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, Color.magenta, 0.0f);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}.
+ * Background color is set to Color.magenta.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltEmptyBufferedImageTypeIntARGBPreBackgroundMagentaAlpha025(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, Color.magenta, 0.25f);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}.
+ * Background color is set to Color.magenta.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltEmptyBufferedImageTypeIntARGBPreBackgroundMagentaAlpha050(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, Color.magenta, 0.5f);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}.
+ * Background color is set to Color.magenta.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltEmptyBufferedImageTypeIntARGBPreBackgroundMagentaAlpha075(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, Color.magenta, 0.75f);
+ }
+
+ /**
+ * Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}.
+ * Background color is set to Color.magenta.
+ *
+ * @param image
+ * image to be used as a destination for BitBlt-type operations
+ * @param graphics2d
+ * graphics canvas
+ * @return test result status - PASSED, FAILED or ERROR
+ */
+ public TestResult testBitBltEmptyBufferedImageTypeIntARGBPreBackgroundMagentaAlpha100(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltEmptyBufferedImageTypeIntARGBPre(image, graphics2d, Color.magenta, 1.00f);
+ }
+
+ /**
* Test basic BitBlt operation for empty buffered image with type {@link BufferedImage#TYPE_INT_BGR}.
* Background color is set to Color.black.
*
More information about the distro-pkg-dev
mailing list