# HG changeset patch # User mbaesken # Date 1498833138 -7200 # Fri Jun 30 16:32:18 2017 +0200 # Node ID 8e609040ac4f6477bf1ae301c84c7c658458a3af # Parent 76ff72bb6a4afb8aea957a4551e6837deb157d38 8183286: Some java/awt and javax/swing tests miss headful jtreg keyword diff --git a/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java b/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java --- a/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java +++ b/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java @@ -36,6 +36,7 @@ /** * @test + * @key headful * @bug 8176448 * @run main/timeout=300 ChoicePopupLocation */ diff --git a/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java b/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java --- a/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java +++ b/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java @@ -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 diff --git a/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java b/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java --- a/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java +++ b/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8171952 * @summary Tests that getMousePosition() returns null for obscured component. * @author Dmitry Markov diff --git a/test/java/awt/PopupMenu/PopupMenuLocation.java b/test/java/awt/PopupMenu/PopupMenuLocation.java --- a/test/java/awt/PopupMenu/PopupMenuLocation.java +++ b/test/java/awt/PopupMenu/PopupMenuLocation.java @@ -38,6 +38,7 @@ /** * @test + * @key headful * @bug 8160270 * @run main/timeout=300 PopupMenuLocation */ diff --git a/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java b/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java --- a/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java +++ b/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8162959 * @summary Validate output of createMultiResolutionScreenCapture * new API which returns MultiResolutionImage. diff --git a/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java b/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java --- a/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java +++ b/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java @@ -31,6 +31,7 @@ /** * @test + * @key headful * @bug 8176009 */ public class MultiScreenRobotPosition { diff --git a/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java b/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java --- a/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java +++ b/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java @@ -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. diff --git a/test/java/awt/font/TextLayout/ArabicDiacriticTest.java b/test/java/awt/font/TextLayout/ArabicDiacriticTest.java --- a/test/java/awt/font/TextLayout/ArabicDiacriticTest.java +++ b/test/java/awt/font/TextLayout/ArabicDiacriticTest.java @@ -22,6 +22,7 @@ */ /* @test + * @key headful * @summary verify Arab Diacritic Positioning * @bug 8168759 */ diff --git a/test/javax/accessibility/JList/AccessibleJListChildNPETest.java b/test/javax/accessibility/JList/AccessibleJListChildNPETest.java --- a/test/javax/accessibility/JList/AccessibleJListChildNPETest.java +++ b/test/javax/accessibility/JList/AccessibleJListChildNPETest.java @@ -35,6 +35,7 @@ import javax.swing.WindowConstants; /* @test + @key headful @bug 8076249 @summary NPE in AccessBridge while editing JList model @author Mikhail Cherkasov diff --git a/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java b/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java --- a/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java +++ b/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java @@ -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 diff --git a/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java b/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java --- a/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java +++ b/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java @@ -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 diff --git a/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java b/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java --- a/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java +++ b/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8170387 * @summary JLightweightFrame#syncCopyBuffer() may throw IOOBE * @modules java.desktop/sun.swing diff --git a/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java b/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java --- a/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java +++ b/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java @@ -22,6 +22,7 @@ */ /* @test + * @key headful * @bug 8074883 * @summary Tab key should move to focused button in a button group * @run main ButtonGroupFocusTest diff --git a/test/javax/swing/JTree/4633594/JTreeFocusTest.java b/test/javax/swing/JTree/4633594/JTreeFocusTest.java --- a/test/javax/swing/JTree/4633594/JTreeFocusTest.java +++ b/test/javax/swing/JTree/4633594/JTreeFocusTest.java @@ -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 diff --git a/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java b/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java --- a/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java +++ b/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java @@ -39,6 +39,7 @@ /** * @test + * @key headful * @bug 8176448 * @run main/timeout=600 JComboBoxPopupLocation */ diff --git a/test/javax/swing/text/html/StyleSheet/bug4936917.java b/test/javax/swing/text/html/StyleSheet/bug4936917.java --- a/test/javax/swing/text/html/StyleSheet/bug4936917.java +++ b/test/javax/swing/text/html/StyleSheet/bug4936917.java @@ -21,6 +21,7 @@ * questions. */ /* @test + @key headful @bug 4936917 7190578 8174717 @summary Tests if background is correctly painted when has css margins @author Denis Sharypov