Mercurial > hg > gfx-test
changeset 474:372bdbeb35f2 draft
Another six new tests added into BitBltAffineQuadrantRotateTransformOp.java
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Tue, 05 Nov 2013 11:00:40 +0100 |
parents | 937aab54cacc |
children | 1519d3e53dea |
files | ChangeLog src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java |
diffstat | 2 files changed, 89 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Nov 04 09:26:08 2013 +0100 +++ b/ChangeLog Tue Nov 05 11:00:40 2013 +0100 @@ -1,3 +1,8 @@ +2013-11-05 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java: + Another six new tests added into BitBltAffineQuadrantRotateTransformOp.java + 2013-11-04 Pavel Tisnovsky <ptisnovs@redhat.com> * src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java:
--- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Mon Nov 04 09:26:08 2013 +0100 +++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Tue Nov 05 11:00:40 2013 +0100 @@ -893,6 +893,90 @@ } /** + * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB. + * + * @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 testBitBltCheckerBufferedImageTypeIntRGBRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageTypeIntRGB(image, graphics2d, RotateTransformationNearest1Op[2]); + } + + /** + * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB. + * + * @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 testBitBltCheckerBufferedImageTypeIntRGBRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageTypeIntRGB(image, graphics2d, RotateTransformationNearest1Op[3]); + } + + /** + * Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB. + * + * @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 testBitBltCheckerBufferedImageTypeIntRGBRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageTypeIntRGB(image, graphics2d, RotateTransformationNearest1Op[4]); + } + + /** + Test basic BitBlt operation for checker buffered image with type TYPE_INT_RGB. + * + * @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 testBitBltCheckerBufferedImageTypeIntRGBRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageTypeIntRGB(image, graphics2d, RotateTransformationNearest1Op[5]); + } + + /** + * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR. + * + * @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 testBitBltCheckerBufferedImageTypeIntBGRRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageTypeIntBGR(image, graphics2d, RotateTransformationNearest1Op[0]); + } + + /** + * Test basic BitBlt operation for checker buffered image with type TYPE_INT_BGR. + * + * @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 testBitBltCheckerBufferedImageTypeIntBGRRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltCheckerBufferedImageTypeIntBGR(image, graphics2d, RotateTransformationNearest1Op[1]); + } + + /** * Entry point to the test suite. * * @param args not used in this case