OpenJDK / valhalla / valhalla10-old / jdk
changeset 17775:1b869adc86f2
8183286: Some java/awt and javax/swing tests miss headful jtreg keyword
Reviewed-by: serb, clanger
line wrap: on
line diff
--- a/test/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/Dialog/DialogAboveFrame/DialogAboveFrameTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/Frame/ObscuredFrame/ObscuredFrameTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/PopupMenu/PopupMenuLocation.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/Robot/MultiScreenRobotPosition/MultiScreenRobotPosition.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/Window/WindowDeadlockTest/WindowDeadlockTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/java/awt/font/TextLayout/ArabicDiacriticTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/accessibility/JList/AccessibleJListChildNPETest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/JFrame/AlwaysOnTop/AlwaysOnTopImeTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/JLightweightFrame/JLightweightFrameRoundTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/JRadioButton/ButtonGroupFocus/ButtonGroupFocusTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/JTree/4633594/JTreeFocusTest.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/plaf/basic/BasicComboPopup/JComboBoxPopupLocation/JComboBoxPopupLocation.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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/test/javax/swing/text/html/StyleSheet/bug4936917.java Tue Jul 04 13:37:02 2017 +0530 +++ b/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