/hg/gfx-test: Ten new tests added into BitBltBasicTests.
ptisnovs at icedtea.classpath.org
ptisnovs at icedtea.classpath.org
Tue Mar 18 11:06:59 UTC 2014
changeset 3a59e3b162a9 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=3a59e3b162a9
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Tue Mar 18 12:07:31 2014 +0100
Ten new tests added into BitBltBasicTests.
diffstat:
ChangeLog | 5 +
src/org/gfxtest/testsuites/BitBltBasicTests.java | 152 ++++++++++++++++++++++-
2 files changed, 156 insertions(+), 1 deletions(-)
diffs (244 lines):
diff -r e459010f5534 -r 3a59e3b162a9 ChangeLog
--- a/ChangeLog Mon Mar 17 11:47:56 2014 +0100
+++ b/ChangeLog Tue Mar 18 12:07:31 2014 +0100
@@ -1,3 +1,8 @@
+2014-03-18 Pavel Tisnovsky <ptisnovs at redhat.com>
+
+ * src/org/gfxtest/testsuites/BitBltBasicTests.java:
+ Ten new tests added into BitBltBasicTests.
+
2014-03-17 Pavel Tisnovsky <ptisnovs at redhat.com>
* src/org/gfxtest/framework/CommonBitmapOperations.java:
diff -r e459010f5534 -r 3a59e3b162a9 src/org/gfxtest/testsuites/BitBltBasicTests.java
--- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Mon Mar 17 11:47:56 2014 +0100
+++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Tue Mar 18 12:07:31 2014 +0100
@@ -1,7 +1,7 @@
/*
Java gfx-test framework
- Copyright (C) 2010, 2011, 2012, 2013 Red Hat
+ Copyright (C) 2010, 2011, 2012, 2013, 2014 Red Hat
This file is part of IcedTea.
@@ -274,6 +274,21 @@
}
/**
+ * Test basic BitBlt operation for empty 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 testBitBltEmptyBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithEmptyImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -469,6 +484,21 @@
}
/**
+ * Test basic BitBlt operation for 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 testBitBltCheckerBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithCheckerImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for diagonal checker buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -664,6 +694,21 @@
}
/**
+ * 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 testBitBltDiagonalCheckerBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithDiagonalCheckerImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -859,6 +904,21 @@
}
/**
+ * Test basic BitBlt operation for grid 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 testBitBltGridBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithGridImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for diagonal grid buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -1055,6 +1115,21 @@
}
/**
+ * Test basic BitBlt operation for diagonal grid 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 testBitBltDiagonalGridBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithDiagonalGridImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal stripes buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -1251,6 +1326,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal 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 testBitBltHorizontalStripesBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalStripesImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical stripes buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -1447,6 +1537,21 @@
}
/**
+ * Test basic BitBlt operation for vertical 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 testBitBltVerticalStripesBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for diagonal stripes buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -1643,6 +1748,21 @@
}
/**
+ * Test basic BitBlt operation for diagonal 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 testBitBltDiagonalStripesBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for horizontal color stripes buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -1840,6 +1960,21 @@
}
/**
+ * Test basic BitBlt operation for horizontal 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 testBitBltHorizontalColorStripesBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for vertical color stripes buffered image with type TYPE_3BYTE_BGR.
*
* @param image
@@ -2036,6 +2171,21 @@
}
/**
+ * Test basic BitBlt operation for vertical 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 testBitBltVerticalColorStripesBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d)
+ {
+ // create new buffered image and then perform basic BitBlt test.
+ return CommonBitmapOperations.doBitBltTestWithVerticalColorStripesImage(image, graphics2d, BufferedImage.TYPE_CUSTOM);
+ }
+
+ /**
* Test basic BitBlt operation for diagonal color stripes buffered image with type TYPE_3BYTE_BGR.
*
* @param image
More information about the distro-pkg-dev
mailing list