Mercurial > hg > gfx-test
changeset 513:121696444efb draft
Six new tests added into BitBitBltAffineIdentityTransformOp.java:
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Wed, 15 Jan 2014 13:13:09 +0100 |
parents | 5a9cc7bba621 |
children | 23845c2f1cbc |
files | ChangeLog src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java |
diffstat | 2 files changed, 89 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Jan 14 13:20:15 2014 +0100 +++ b/ChangeLog Wed Jan 15 13:13:09 2014 +0100 @@ -1,3 +1,8 @@ +2014-01-15 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java: + Six new tests added into BitBitBltAffineIdentityTransformOp.java: + 2014-01-14 Pavel Tisnovsky <ptisnovs@redhat.com> * src/org/gfxtest/testsuites/CAGOperationsOnPieAndRectangle.java:
--- a/src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java Tue Jan 14 13:20:15 2014 +0100 +++ b/src/org/gfxtest/testsuites/BitBltAffineIdentityTransformOp.java Wed Jan 15 13:13:09 2014 +0100 @@ -2927,6 +2927,90 @@ } /** + * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_GRAY. + * + * @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 testBitBltDiagonalCheckerBufferedImageTypeByteGrayIdentifyTranspormationOp5(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeByteGray(image, graphics2d, IdentifyTranspormationOp5); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_BYTE_GRAY. + * + * @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 testBitBltDiagonalCheckerBufferedImageTypeByteGrayIdentifyTranspormationOp6(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeByteGray(image, graphics2d, IdentifyTranspormationOp6); + } + + /** + * Test basic BitBlt operation for diagonal checker 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 testBitBltDiagonalCheckerBufferedImageTypeCustomIdentifyTranspormationOp1(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeCustom(image, graphics2d, IdentifyTranspormationOp1); + } + + /** + * Test basic BitBlt operation for diagonal checker 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 testBitBltDiagonalCheckerBufferedImageTypeCustomIdentifyTranspormationOp2(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeCustom(image, graphics2d, IdentifyTranspormationOp2); + } + + /** + * Test basic BitBlt operation for diagonal checker 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 testBitBltDiagonalCheckerBufferedImageTypeCustomIdentifyTranspormationOp3(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeCustom(image, graphics2d, IdentifyTranspormationOp3); + } + + /** + * Test basic BitBlt operation for diagonal checker 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 testBitBltDiagonalCheckerBufferedImageTypeCustomIdentifyTranspormationOp4(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeCustom(image, graphics2d, IdentifyTranspormationOp4); + } + + /** * Entry point to the test suite. * * @param args not used in this case