Mercurial > hg > gfx-test
changeset 741:8133aa764216 draft
Updated several tests.
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Tue, 14 Jul 2015 11:41:23 +0200 |
parents | df674303d68c |
children | ce139fc6e574 |
files | ChangeLog src/org/gfxtest/testsuites/BitBltUsingBgColor.java |
diffstat | 2 files changed, 107 insertions(+), 102 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Jul 13 14:33:18 2015 +0200 +++ b/ChangeLog Tue Jul 14 11:41:23 2015 +0200 @@ -1,3 +1,8 @@ +2015-07-14 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Updated several tests. + 2015-07-13 Pavel Tisnovsky <ptisnovs@redhat.com> * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Mon Jul 13 14:33:18 2015 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Tue Jul 14 11:41:23 2015 +0200 @@ -11326,7 +11326,7 @@ } /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.black. * * @param image @@ -11335,13 +11335,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundBlack(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.black); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.blue. * * @param image @@ -11350,13 +11350,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundBlue(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.blue); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.green. * * @param image @@ -11365,13 +11365,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundGreen(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.green); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.cyan. * * @param image @@ -11380,13 +11380,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundCyan(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.cyan); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.red. * * @param image @@ -11395,13 +11395,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundRed(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.red); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.magenta. * * @param image @@ -11410,13 +11410,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundMagenta(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.magenta); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.yellow. * * @param image @@ -11425,13 +11425,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundYellow(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.yellow); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_BYTE_INDEXED. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_RGB}. * Background color is set to Color.white. * * @param image @@ -11440,13 +11440,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeByteIndexedBackgroundWhite(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeByteIndexed(image, graphics2d, Color.white); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.black. * * @param image @@ -11455,13 +11455,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundBlack(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.black); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.blue. * * @param image @@ -11470,13 +11470,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundBlue(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.blue); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.green. * * @param image @@ -11485,13 +11485,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundGreen(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.green); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.cyan. * * @param image @@ -11500,13 +11500,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundCyan(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.cyan); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.red. * * @param image @@ -11515,13 +11515,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundRed(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.red); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.magenta. * * @param image @@ -11530,13 +11530,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundMagenta(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.magenta); - } - - /** - * Test basic BitBlt operation for checker buffered image with type TYPE_USHORT_555_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. * Background color is set to Color.yellow. * * @param image @@ -11545,9 +11545,9 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltCheckerBufferedImageTypeUshort555RGBBackgroundYellow(TestImage image, Graphics2D graphics2d) - { - return doBitBltCheckerBufferedImageTypeUshort555RGB(image, graphics2d, Color.yellow); + public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.yellow); } /**