/hg/gfx-test: 2 new changesets

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Fri Nov 6 12:58:12 UTC 2015


changeset c88a89caa057 in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=c88a89caa057
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Fri Nov 06 13:59:20 2015 +0100

	Added five new tests into ClippingCircleByRectangleArea.


changeset 1cc56c3e0b4d in /hg/gfx-test
details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=1cc56c3e0b4d
author: Pavel Tisnovsky <ptisnovs at redhat.com>
date: Fri Nov 06 14:01:12 2015 +0100

	Added another five new tests into ClippingCircleByRectangleArea.


diffstat:

 ChangeLog                                                     |   10 +
 src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java |  180 ++++++++++
 2 files changed, 190 insertions(+), 0 deletions(-)

diffs (207 lines):

diff -r ac5a9624f24e -r 1cc56c3e0b4d ChangeLog
--- a/ChangeLog	Tue Nov 03 13:54:51 2015 +0100
+++ b/ChangeLog	Fri Nov 06 14:01:12 2015 +0100
@@ -1,3 +1,13 @@
+2015-11-06  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java:
+	Added another five new tests into ClippingCircleByRectangleArea.
+
+2015-11-06  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java:
+	Added five new tests into ClippingCircleByRectangleArea.
+
 2015-11-03  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java:
diff -r ac5a9624f24e -r 1cc56c3e0b4d src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java
--- a/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java	Tue Nov 03 13:54:51 2015 +0100
+++ b/src/org/gfxtest/testsuites/ClippingCircleByRectangleArea.java	Fri Nov 06 14:01:12 2015 +0100
@@ -881,6 +881,186 @@
     }
 
     /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with cyan color at 0% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintCyan000(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 0% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintCyan(image, graphics2d, 0);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with cyan color at 25% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintCyan025(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 25% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintCyan(image, graphics2d, 25);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with cyan color at 50% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintCyan050(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 50% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintCyan(image, graphics2d, 50);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with cyan color at 75% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintCyan075(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 75% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintCyan(image, graphics2d, 75);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with cyan color at 100% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintCyan100(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 100% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintCyan(image, graphics2d, 100);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with white color at 0% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintWhite000(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 0% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintWhite(image, graphics2d, 0);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with white color at 25% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintWhite025(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 25% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintWhite(image, graphics2d, 25);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with white color at 50% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintWhite050(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 50% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintWhite(image, graphics2d, 50);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with white color at 75% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintWhite075(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 75% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintWhite(image, graphics2d, 75);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
+     * Check if circle shape could be clipped by a rectangular area. Circle is
+     * rendered using alpha paint with white color at 100% transparency.
+     * 
+     * @param image
+     *            work image
+     * @param graphics2d
+     *            graphics canvas
+     * @return test result status - PASSED, FAILED or ERROR
+     */
+    public TestResult testClipCircleByRectangleAreaAlphaPaintWhite100(TestImage image, Graphics2D graphics2d)
+    {
+        // draw circle clipped by rectangle area using alpha paint with 100% transparency
+        drawCircleClippedByRectangleAreaAlphaPaintWhite(image, graphics2d, 100);
+        // test result
+        return TestResult.PASSED;
+    }
+
+    /**
      * Check if circle shape could be clipped by a rectangle area. Circle is
      * rendered using horizontal gradient paint.
      * 


More information about the distro-pkg-dev mailing list