From 333096ac33525ed1ca477dd2038033d16cb90cd0 Mon Sep 17 00:00:00 2001 From: Sergey Bylokhov Date: Mon, 5 Feb 2024 19:10:21 -0800 Subject: [PATCH] 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java --- test/jdk/sun/java2d/marlin/ClipShapeTest.java | 39 +++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/test/jdk/sun/java2d/marlin/ClipShapeTest.java b/test/jdk/sun/java2d/marlin/ClipShapeTest.java index 65de6e750c952..13abd4b846170 100644 --- a/test/jdk/sun/java2d/marlin/ClipShapeTest.java +++ b/test/jdk/sun/java2d/marlin/ClipShapeTest.java @@ -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 @@ -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: