/hg/gfx-test: Eight new tests added into BitBltBasicTests.
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Fri Mar 28 09:45:07 UTC 2014
changeset ab61c1a09c99 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=ab61c1a09c99
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Fri Mar 28 10:45:48 2014 +0100
Eight new tests added into BitBltBasicTests.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltBasicTests.java | 120 +++++++++++++++++++++++
2 files changed, 125 insertions(+), 0 deletions(-)
diffs (191 lines):
diff -r 3ab1971d3e7c -r ab61c1a09c99 ChangeLog
--- a/ChangeLog Thu Mar 27 09:54:59 2014 +0100
+++ b/ChangeLog Fri Mar 28 10:45:48 2014 +0100
@@ -1,3 +1,8 @@
+2014-03-28 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltBasicTests.java:
+ Eight new tests added into BitBltBasicTests.
+
2014-03-27 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java:
diff -r 3ab1971d3e7c -r ab61c1a09c99 src/org/gfxtest/testsuites/BitBltBasicTests.java
--- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Thu Mar 27 09:54:59 2014 +0100
+++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Fri Mar 28 10:45:48 2014 +0100
@@ -2383,6 +2383,21 @@
}
/**
+ * Test basic BitBlt operation for diagonal color stripes 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 testBitBltDiagonalColorStripesBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithDiagonalColorStripesImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for black and white dots pattern buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -2580,6 +2595,21 @@
}
/**
+ * Test basic BitBlt operation for black and white dots pattern 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 testBitBltBWDotsBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithBWDotsImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for color dots pattern buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -2777,6 +2807,21 @@
}
/**
+ * Test basic BitBlt operation for color dots pattern 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 testBitBltColorDotsBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithColorDotsImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal grayscale gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -2973,6 +3018,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal grayscale 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 testBitBltHorizontalGrayscaleGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical grayscale gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -3169,6 +3229,21 @@
}
/**
+ * Test basic BitBlt operation for vertical grayscale 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 testBitBltVerticalGrayscaleGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalGrayscaleGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal red gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -3366,6 +3441,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal red 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 testBitBltHorizontalRedGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalRedGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical red gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -3563,6 +3653,21 @@
}
/**
+ * Test basic BitBlt operation for vertical red 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 testBitBltVerticalRedGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalRedGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal green gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -3760,6 +3865,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal 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 testBitBltHorizontalGreenGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalGreenGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical green gradient buffered image with type TYPE_3BYTE_BGR.
*
* @param image
More information about the distro-pkg-dev
mailing list