/hg/gfx-test: Updated several tests.
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Thu Jun 4 07:39:23 UTC 2015
changeset e6c0df111443 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=e6c0df111443
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Thu Jun 04 09:41:46 2015 +0200
Updated several tests.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltUsingBgColor.java | 174 ++++++++++----------
2 files changed, 92 insertions(+), 87 deletions(-)
diffs (280 lines):
diff -r bc696a59a1b9 -r e6c0df111443 ChangeLog
--- a/ChangeLog Wed Jun 03 10:16:35 2015 +0200
+++ b/ChangeLog Thu Jun 04 09:41:46 2015 +0200
@@ -1,3 +1,8 @@
+2015-06-04 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
+ Updated several tests.
+
2015-06-03 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
diff -r bc696a59a1b9 -r e6c0df111443 src/org/gfxtest/testsuites/BitBltUsingBgColor.java
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Wed Jun 03 10:16:35 2015 +0200
+++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Thu Jun 04 09:41:46 2015 +0200
@@ -13405,13 +13405,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundGreen(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.green);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteGrayBackgroundGreen(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteGray(image, graphics2d, Color.green);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}.
* Background color is set to Color.cyan.
*
* @param image
@@ -13420,13 +13420,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundCyan(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.cyan);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteGrayBackgroundCyan(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteGray(image, graphics2d, Color.cyan);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}.
* Background color is set to Color.red.
*
* @param image
@@ -13435,13 +13435,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundRed(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.red);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteGrayBackgroundRed(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteGray(image, graphics2d, Color.red);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}.
* Background color is set to Color.magenta.
*
* @param image
@@ -13450,13 +13450,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundMagenta(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.magenta);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteGrayBackgroundMagenta(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteGray(image, graphics2d, Color.magenta);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}.
* Background color is set to Color.yellow.
*
* @param image
@@ -13465,13 +13465,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundYellow(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.yellow);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteGrayBackgroundYellow(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteGray(image, graphics2d, Color.yellow);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}.
* Background color is set to Color.white.
*
* @param image
@@ -13480,13 +13480,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundWhite(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.white);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteGrayBackgroundWhite(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteGray(image, graphics2d, Color.white);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.black.
*
* @param image
@@ -13495,13 +13495,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundBlack(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.black);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundBlack(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.black);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.blue.
*
* @param image
@@ -13510,13 +13510,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundBlue(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.blue);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundBlue(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.blue);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.green.
*
* @param image
@@ -13525,13 +13525,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundGreen(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.green);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundGreen(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.green);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.cyan.
*
* @param image
@@ -13540,13 +13540,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundCyan(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.cyan);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundCyan(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.cyan);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.red.
*
* @param image
@@ -13555,13 +13555,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundRed(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.red);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundRed(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.red);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.magenta.
*
* @param image
@@ -13570,13 +13570,13 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundMagenta(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.magenta);
- }
-
- /**
- * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundMagenta(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.magenta);
+ }
+
+ /**
+ * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}.
* Background color is set to Color.yellow.
*
* @param image
@@ -13585,9 +13585,9 @@
* graphics canvas
* @return test result status - PASSED, FAILED or ERROR
*/
- public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundYellow(TestImage image, Graphics2D graphics2d)
- {
- return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.yellow);
+ public TestResult testBitBltGridBufferedImageTypeByteIndexedBackgroundYellow(TestImage image, Graphics2D graphics2d)
+ {
+ return doBitBltGridBufferedImageTypeByteIndexed(image, graphics2d, Color.yellow);
}
/**
More information about the distro-pkg-dev
mailing list