Mercurial > hg > gfx-test
changeset 736:7104c1538b7d draft
Updated several tests.
author | Pavel Tisnovsky <ptisnovs@redhat.com> |
---|---|
date | Tue, 07 Jul 2015 12:35:57 +0200 |
parents | 5556f6317e9c |
children | 3fb7acf2856f |
files | ChangeLog src/org/gfxtest/testsuites/BitBltUsingBgColor.java |
diffstat | 2 files changed, 85 insertions(+), 80 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jul 02 10:19:09 2015 +0200 +++ b/ChangeLog Tue Jul 07 12:35:57 2015 +0200 @@ -1,3 +1,8 @@ +2015-07-07 Pavel Tisnovsky <ptisnovs@redhat.com> + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Updated several tests. + 2015-07-02 Pavel Tisnovsky <ptisnovs@redhat.com> * src/org/gfxtest/testsuites/BitBltUsingBgColor.java:
--- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Thu Jul 02 10:19:09 2015 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Tue Jul 07 12:35:57 2015 +0200 @@ -12340,13 +12340,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundCyan(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.cyan); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshortGrayBackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeUshortGray(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. * Background color is set to Color.red. * * @param image @@ -12355,13 +12355,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundRed(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.red); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshortGrayBackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeUshortGray(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. * Background color is set to Color.magenta. * * @param image @@ -12370,13 +12370,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundMagenta(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.magenta); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshortGrayBackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeUshortGray(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. * Background color is set to Color.yellow. * * @param image @@ -12385,13 +12385,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundYellow(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.yellow); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_RGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshortGrayBackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeUshortGray(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for diagonal checker buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. * Background color is set to Color.white. * * @param image @@ -12400,13 +12400,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntRGBbackgroundWhite(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntRGB(image, graphics2d, Color.white); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltDiagonalCheckerBufferedImageTypeUshortGrayBackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltDiagonalCheckerBufferedImageTypeUshortGray(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.black. * * @param image @@ -12415,13 +12415,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundBlack(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.black); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.blue. * * @param image @@ -12430,13 +12430,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundBlue(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.blue); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.green. * * @param image @@ -12445,13 +12445,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundGreen(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.green); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.cyan. * * @param image @@ -12460,13 +12460,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundCyan(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.cyan); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.red. * * @param image @@ -12475,13 +12475,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundRed(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.red); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.magenta. * * @param image @@ -12490,13 +12490,13 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundMagenta(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.magenta); - } - - /** - * Test basic BitBlt operation for diagonal checker buffered image with type TYPE_INT_ARGB. + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for grid buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. * Background color is set to Color.yellow. * * @param image @@ -12505,9 +12505,9 @@ * graphics canvas * @return test result status - PASSED, FAILED or ERROR */ - public TestResult testBitBltDiagonalCheckerBufferedImageTypeIntARGBbackgroundYellow(TestImage image, Graphics2D graphics2d) - { - return doBitBltDiagonalCheckerBufferedImageTypeIntARGB(image, graphics2d, Color.yellow); + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteBGR(image, graphics2d, Color.yellow); } /**