< prev index next >

test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html

Print this page
rev 17565 : 8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
Summary: Add new keyword 'printer'. Some minor test fixes to show headless exception. Add some @requires windows.
Reviewed-by: serb, mbaesken
   1 <!--
   2  Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
   3  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 
   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
   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 <HTML>
  25   <!--  @test

  26         @bug 4023283
  27         @summary Checks that an Error which propogate up to the EventDispatch
  28         loop does not crash AWT.
  29         @author Andrei Dmitriev: area=awt.event
  30         @library ../../regtesthelpers
  31         @modules java.desktop/sun.awt
  32         @build Util
  33         @run main LoopRobustness
  34   -->
  35   <HEAD>
  36   <TITLE>LoopRobustness</TITLE>
  37   </HEAD>
  38   <BODY>
  39   This is automatic test.
  40   
  41   <APPLET CODE="LoopRobustness.class"
  42           CODEBASE = "."
  43           WIDTH=350 HEIGHT=100>
  44   </APPLET>
  45   </BODY>                                                             
   1 <!--
   2  Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
   3  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 
   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
   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 <HTML>
  25   <!--  @test
  26         @key headful
  27         @bug 4023283
  28         @summary Checks that an Error which propogate up to the EventDispatch
  29         loop does not crash AWT.
  30         @author Andrei Dmitriev: area=awt.event
  31         @library ../../regtesthelpers
  32         @modules java.desktop/sun.awt
  33         @build Util
  34         @run main LoopRobustness
  35   -->
  36   <HEAD>
  37   <TITLE>LoopRobustness</TITLE>
  38   </HEAD>
  39   <BODY>
  40   This is automatic test.
  41   
  42   <APPLET CODE="LoopRobustness.class"
  43           CODEBASE = "."
  44           WIDTH=350 HEIGHT=100>
  45   </APPLET>
  46   </BODY>                                                             
< prev index next >