8183286: Some java/awt and javax/swing tests miss headful jtreg keyword
authormbaesken
Fri, 30 Jun 2017 16:32:18 +0200
changeset 47147 857d25fae728
parent 47146 9910fab09c00
child 47148 ebee0056e4ea
8183286: Some java/awt and javax/swing tests miss headful jtreg keyword Reviewed-by: serb, clanger
jdk/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java
jdk/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java
jdk/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java
jdk/test/java/awt/PopupMenu/PopupMenuLocation.java
jdk/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java
jdk/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java
jdk/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java
jdk/test/java/awt/font/TextLayout/ArabicDiacriticTest.java
jdk/test/javax/accessibility/JList/AccessibleJListChildNPETest.java
jdk/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java
jdk/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java
jdk/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java
jdk/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java
jdk/test/javax/swing/JTree/4633594/JTreeFocusTest.java
jdk/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java
jdk/test/javax/swing/text/html/StyleSheet/bug4936917.java
--- a/jdk/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java	Fri Jun 30 16:32:18 2017 +0200
@@ -36,6 +36,7 @@
 
 /**
  * @test
+ * @key headful
  * @bug 8176448
  * @run main/timeout=300 ChoicePopupLocation
  */
--- a/jdk/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -23,6 +23,7 @@
 
 /*
  * @test
+ * @key headful
  * @bug 8169589 8171909
  * @summary Activating a dialog puts to back another dialog owned by the same frame
  * @author Dmitry Markov
--- a/jdk/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,7 @@
 
 /*
  * @test
+ * @key headful
  * @bug 8171952
  * @summary Tests that getMousePosition() returns null for obscured component.
  * @author Dmitry Markov
--- a/jdk/test/java/awt/PopupMenu/PopupMenuLocation.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/PopupMenu/PopupMenuLocation.java	Fri Jun 30 16:32:18 2017 +0200
@@ -38,6 +38,7 @@
 
 /**
  * @test
+ * @key headful
  * @bug 8160270
  * @run main/timeout=300 PopupMenuLocation
  */
--- a/jdk/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -23,6 +23,7 @@
 
  /*
  * @test
+ * @key headful
  * @bug 8162959
  * @summary Validate output of createMultiResolutionScreenCapture
  *          new API which returns MultiResolutionImage.
--- a/jdk/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java	Fri Jun 30 16:32:18 2017 +0200
@@ -31,6 +31,7 @@
 
 /**
  * @test
+ * @key headful
  * @bug 8176009
  */
 public class MultiScreenRobotPosition {
--- a/jdk/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -23,6 +23,7 @@
 
 /*
  * @test
+ * @key headful
  * @bug 8176490
  * @summary Tests that there is no hang or deadlock when the visibility
  *      of parent and child windows is changed.
--- a/jdk/test/java/awt/font/TextLayout/ArabicDiacriticTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/java/awt/font/TextLayout/ArabicDiacriticTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -22,6 +22,7 @@
  */
 
 /* @test
+ * @key headful
  * @summary verify Arab Diacritic Positioning
  * @bug 8168759
  */
--- a/jdk/test/javax/accessibility/JList/AccessibleJListChildNPETest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/accessibility/JList/AccessibleJListChildNPETest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -35,6 +35,7 @@
 import javax.swing.WindowConstants;
 
 /* @test
+   @key headful
    @bug 8076249
    @summary  NPE in AccessBridge while editing JList model
    @author Mikhail Cherkasov
--- a/jdk/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -30,6 +30,7 @@
 
 /**
  * @test
+ * @key headful
  * @bug 8175301
  * @summary Java GUI hangs on Windows when Display set to 125%
  * @run main/othervm -Dsun.java2d.uiScale=2 ScaledFrameBackgroundTest
--- a/jdk/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -23,6 +23,7 @@
 
 /**
  * @test
+ * @key headful
  * @bug 8179665
  * @summary [Windows] java.awt.IllegalComponentStateException: component must
  *          be showing on the screen to determine its location
--- a/jdk/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,7 @@
 
 /*
  * @test
+ * @key headful
  * @bug 8170387
  * @summary JLightweightFrame#syncCopyBuffer() may throw IOOBE
  * @modules java.desktop/sun.swing
--- a/jdk/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -22,6 +22,7 @@
  */
 
 /* @test
+ * @key headful
  * @bug 8074883
  * @summary Tab key should move to focused button in a button group
  * @run main ButtonGroupFocusTest
--- a/jdk/test/javax/swing/JTree/4633594/JTreeFocusTest.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/JTree/4633594/JTreeFocusTest.java	Fri Jun 30 16:32:18 2017 +0200
@@ -21,6 +21,7 @@
  * questions.
  */
 /* @test
+   @key headful
    @bug 4633594 8172012
    @summary No way to pass focus from a JTree to a GUI placed inside the tree node
    @run main JTreeFocusTest
--- a/jdk/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java	Fri Jun 30 16:32:18 2017 +0200
@@ -39,6 +39,7 @@
 
 /**
  * @test
+ * @key headful
  * @bug 8176448
  * @run main/timeout=600 JComboBoxPopupLocation
  */
--- a/jdk/test/javax/swing/text/html/StyleSheet/bug4936917.java	Tue Jul 04 13:37:02 2017 +0530
+++ b/jdk/test/javax/swing/text/html/StyleSheet/bug4936917.java	Fri Jun 30 16:32:18 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -21,6 +21,7 @@
  * questions.
  */
 /* @test
+   @key headful
    @bug 4936917 7190578 8174717
    @summary  Tests if background is correctly painted when <BODY> has css margins
    @author Denis Sharypov