< prev index next >

test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/SourceClippingBlitTest.java

Print this page
rev 14031 : 8160974: [TESTBUG] Mark more headful tests with @key headful.

This is a backport of fe58d505fffd from jdk9. 228/596 hunks apply without
modifications. 16 hunks required manual rework. The remainder were for files
not present in jdk8u.


   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25   @test

  26   @bug 6244574
  27   @bug 6258142
  28   @bug 6395165
  29   @bug 6588884
  30   @summary Tests that source is clipped correctly when blitting
  31   different types of images to the screen
  32   @author Dmitri.Trembovetski: area=Graphics2D
  33   @run main SourceClippingBlitTest
  34 */
  35 
  36 import java.awt.AWTException;
  37 import java.awt.Canvas;
  38 import java.awt.Color;
  39 import java.awt.Dimension;
  40 import java.awt.Frame;
  41 import java.awt.Graphics;
  42 import java.awt.GraphicsConfiguration;
  43 import java.awt.Image;
  44 import java.awt.Point;
  45 import java.awt.Rectangle;




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25   @test
  26   @key headful
  27   @bug 6244574
  28   @bug 6258142
  29   @bug 6395165
  30   @bug 6588884
  31   @summary Tests that source is clipped correctly when blitting
  32   different types of images to the screen
  33   @author Dmitri.Trembovetski: area=Graphics2D
  34   @run main SourceClippingBlitTest
  35 */
  36 
  37 import java.awt.AWTException;
  38 import java.awt.Canvas;
  39 import java.awt.Color;
  40 import java.awt.Dimension;
  41 import java.awt.Frame;
  42 import java.awt.Graphics;
  43 import java.awt.GraphicsConfiguration;
  44 import java.awt.Image;
  45 import java.awt.Point;
  46 import java.awt.Rectangle;


< prev index next >