jdk/test/sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java
changeset 39056 d99e63b6d962
parent 31448 1066345d2a8a
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    45 import javax.imageio.ImageIO;
    45 import javax.imageio.ImageIO;
    46 import sun.awt.ConstrainableGraphics;
    46 import sun.awt.ConstrainableGraphics;
    47 
    47 
    48 /**
    48 /**
    49  * @test
    49  * @test
       
    50  * @key headful
    50  * @bug 6335200 6419610
    51  * @bug 6335200 6419610
    51  * @summary Tests that we don't render anything if specific empty clip is set
    52  * @summary Tests that we don't render anything if specific empty clip is set
    52  * @author Dmitri.Trembovetski@Sun.COM: area=Graphics
    53  * @author Dmitri.Trembovetski@Sun.COM: area=Graphics
    53  * @modules java.desktop/sun.awt
    54  * @modules java.desktop/sun.awt
    54  * @run main EmptyClipRenderingTest
    55  * @run main EmptyClipRenderingTest