Skip to content

Commit

Permalink
8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mrserb committed Feb 6, 2024
1 parent c313d45 commit 333096a
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions test/jdk/sun/java2d/marlin/ClipShapeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
import javax.imageio.ImageWriter;
import javax.imageio.stream.ImageOutputStream;

/**
* @test
/*
* @test id=Poly
* @bug 8191814
* @summary Verifies that Marlin rendering generates the same
* images with and without clipping optimization with all possible
Expand All @@ -62,10 +62,43 @@
* Note: Use the argument -slow to run more intensive tests (too much time)
*
* @run main/othervm/timeout=300 -Dsun.java2d.renderer=sun.java2d.marlin.DMarlinRenderingEngine ClipShapeTest -poly
*/

/*
* @test id=PolyDoDash
* @bug 8191814
* @summary Verifies that Marlin rendering generates the same
* images with and without clipping optimization with all possible
* stroke (cap/join) and/or dashes or fill modes (EO rules)
* for paths made of either 9 lines, 4 quads, 2 cubics (random)
* Note: Use the argument -slow to run more intensive tests (too much time)
*
* @run main/othervm/timeout=300 -Dsun.java2d.renderer=sun.java2d.marlin.DMarlinRenderingEngine ClipShapeTest -poly -doDash
*/

/*
* @test id=Cubic
* @bug 8191814
* @summary Verifies that Marlin rendering generates the same
* images with and without clipping optimization with all possible
* stroke (cap/join) and/or dashes or fill modes (EO rules)
* for paths made of either 9 lines, 4 quads, 2 cubics (random)
* Note: Use the argument -slow to run more intensive tests (too much time)
*
* @run main/othervm/timeout=300 -Dsun.java2d.renderer=sun.java2d.marlin.DMarlinRenderingEngine ClipShapeTest -cubic
*/

/*
* @test id=CubicDoDash
* @bug 8191814
* @summary Verifies that Marlin rendering generates the same
* images with and without clipping optimization with all possible
* stroke (cap/join) and/or dashes or fill modes (EO rules)
* for paths made of either 9 lines, 4 quads, 2 cubics (random)
* Note: Use the argument -slow to run more intensive tests (too much time)
*
* @run main/othervm/timeout=300 -Dsun.java2d.renderer=sun.java2d.marlin.DMarlinRenderingEngine ClipShapeTest -cubic -doDash
*/
*/
public final class ClipShapeTest {

// test options:
Expand Down

0 comments on commit 333096a

Please sign in to comment.