Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8160974: [TESTBUG] Mark more headful tests with @key headful. #607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
* questions.
*/

/* @test
/*
* @test
* @key headful
* @bug 8016551
* @summary JMenuItem in WindowsLookAndFeel can't paint default icons
* @author Leonid Romanov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

/**
* @test
* @key headful
* @bug 8074500
* @summary Checkbox.setState() call should not post ItemEvent
* @author Sergey Bylokhov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
*/

/*
@test
@bug 7159566
@summary The choice positioned in the top of applet when clicking the choice.
@author Petr Pchelko
@library ../../regtesthelpers
@build Util
@run main ChoiceLocationTest
* @test
* @key headful
* @bug 7159566
* @summary The choice positioned in the top of applet when clicking the choice.
* @author Petr Pchelko
* @library ../../regtesthelpers
* @build Util
* @run main ChoiceLocationTest
*/

import java.awt.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
/*
@test
@key headful
@bug 6322625
@summary REG:Choice does not trigger MouseReleased when dragging and releasing the mouse outside choice, XAWT
@author andrei.dmitriev area=awt.choice
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Choice/GetSizeTest/GetSizeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
/*
@test
@key headful
@bug 4255631
@summary Solaris: Size returned by Choice.getSize() does not match actual size
@author Andrei Dmitriev : area=Choice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
/*
@test
@key headful
@bug 6399679
@summary Choice is not invalidated when the frame gets resized programmatically when the drop-down is visible
@author andrei.dmitriev area=awt.choice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
/*
@test
@key headful
@bug 6390103
@summary Non-Focusable choice throws exception when selecting an item, Win32
@author andrei.dmitriev area=awt.choice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6566434
@library ../../regtesthelpers
@build Util Sysout AbstractTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@

/**
* @test
* @key headful
* @bug 6459798
* @author Sergey Bylokhov
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@

/**
* @test
* @key headful
* @bug 6459800
* @author Sergey Bylokhov
*/
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Component/PaintAll/PaintAll.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

/*
@test
@key headful
@bug 6596915
@summary Test Component.paintAll() method
@author [email protected]: area=awt.component
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Component/Revalidate/Revalidate.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 7036669
@summary Test Component.revalidate() method
@author [email protected]: area=awt.component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

/**
* @test
* @key headful
* @bug 8071306
* @author Sergey Bylokhov
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@
*/

/*
@test %I% %E%
@bug 2161766
@summary Component is missing after changing the z-order of the component & focus is not transfered in
@author Andrei Dmitriev : area=awt.container
@run main CheckZOrderChange
*/
* @test %I% %E%
* @key headful
* @bug 2161766
* @summary Component is missing after changing the z-order of the component & focus is not transfered in
* @author Andrei Dmitriev : area=awt.container
* @run main CheckZOrderChange
*/

import java.awt.*;
import java.awt.event.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6852592
@summary invalidate() must stop when it encounters a validate root
@author [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6829546
@summary tests that an always-on-top modal dialog doesn't make any windows always-on-top
@author artem.ananiev: area=awt.modal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 7027013
@summary Dialog.show() should validate the window unconditionally
@author [email protected]: area=awt.toplevel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
/**
*
* @bug 4023283
* @summary Checks that an Error which propogate up to the EventDispatch
* @key headful
* @summary Checks that an Error which propogates up to the EventDispatch
* loop does not crash AWT.
* @author Andrei Dmitriev: area=awt.event
* @library ../../regtesthelpers
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Focus/6981400/Test1.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
* @test
* @key headful
* @bug 6981400
* @summary Tabbing between textfiled do not work properly when ALT+TAB
* @author anton.tarasov
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Focus/6981400/Test2.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
* @test
* @key headful
* @bug 6981400
* @summary Tabbing between textfiled do not work properly when ALT+TAB
* @author anton.tarasov
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Focus/6981400/Test3.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
* @test
* @key headful
* @bug 6981400
* @summary Tabbing between textfiled do not work properly when ALT+TAB
* @author anton.tarasov
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Focus/8013611/JDK8013611.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 8013611
@summary Tests showing a modal dialog with requesting focus in frame.
@author Anton.Tarasov: area=awt.focus
Expand Down
4 changes: 3 additions & 1 deletion jdk/test/java/awt/Focus/8073453/AWTFocusTransitionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
* questions.
*/

/* @test
/*
* @test
* @key headful
* @bug 8073453
* @summary Focus doesn't move when pressing Shift + Tab keys
* @author Dmitry Markov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
* questions.
*/

/* @test
/*
* @test
* @key headful
* @bug 8073453
* @summary Focus doesn't move when pressing Shift + Tab keys
* @author Dmitry Markov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 4823903
@summary Tests actual focused window retaining.
@author Anton.Tarasov: area=awt.focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6187066
@summary Tests the Window.autoRequestFocus property for the Window.setVisible() method.
@author anton.tarasov: area=awt.focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6187066
@summary Tests the Window.autoRequestFocus property for the Window.toFront() method.
@author anton.tarasov: area=awt.focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 4390555
@summary Synopsis: clearGlobalFocusOwner() is not trigerring permanent FOCUS_LOST event
@author [email protected], anton.tarasov: area=awt.focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
/*
@test
@key headful
@bug 4476629
@library ../../../../javax/swing/regtesthelpers
@build Util
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
* questions.
*/

/*
test
@bug 5028014
@summary Focus request & mouse click performed nearly synchronously shouldn't lead to a focus race.
@author [email protected]: area=awt-focus
@run applet MouseClickRequestFocusRaceTest.html
/**
* test
* @key headful
* @bug 5028014
* @summary Focus request & mouse click performed nearly synchronously shouldn't lead to a focus race.
* @author [email protected]: area=awt-focus
* @run applet MouseClickRequestFocusRaceTest.html
*/

import java.awt.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6411406
@summary Components automatically transfer focus on removal, even if developer requests focus elsewhere first
@author oleg.sukhodolsky, anton.tarasov: area=awt.focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 8139218
@summary Dialog that opens and closes quickly changes focus in original
focusowner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
* @test
* @key headful
* @bug 6385277
* @summary Tests that override redirect window gets activated on click.
* @author [email protected]: area=awt.focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/*
@test
@key headful
@bug 6562853
@summary Tests that focus transfered directy to window w/o transfering it to frame.
@author Oleg Sukhodolsky: area=awt.focus
Expand Down
17 changes: 9 additions & 8 deletions jdk/test/java/awt/Focus/TypeAhead/TestFocusFreeze.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
*/

/*
@test
@bug 6183877 6216005 6225560
@library ../../regtesthelpers
@build Util
@summary Tests that keyboard input doesn't freeze due to type-ahead problems
@author Denis.Mikhalkin, Anton.Tarasov: area=awt.focus
@run main TestFocusFreeze
*/
* @test
* @key headful
* @bug 6183877 6216005 6225560
* @library ../../regtesthelpers
* @build Util
* @summary Tests that keyboard input doesn't freeze due to type-ahead problems
* @author Denis.Mikhalkin, Anton.Tarasov: area=awt.focus
* @run main TestFocusFreeze
*/

import java.awt.Component;
import java.awt.DefaultKeyboardFocusManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

/*
* @test
* @key headful
* @summary An attempt to set non-trivial background, shape, or translucency
* to a decorated toplevel should end with an exception.
* @author Dmitriy Ermashov ([email protected])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

/*
* @test
* @key headful
* @summary Display a dialog with a parent, the dialog contains all awt components
* added to it & each components are setted with different cursors types.
* Dispose the parent & collect GC. Garbage collection should happen
Expand Down
1 change: 1 addition & 0 deletions jdk/test/java/awt/Frame/FramesGC/FramesGC.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

/*
* @test
* @key headful
* @summary Verify that disposed frames are collected with GC
* @author Dmitriy Ermashov ([email protected])
* @library ../../../../lib/testlibrary
Expand Down
17 changes: 9 additions & 8 deletions jdk/test/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
*/

/*
* @test
* @summary To check proper WINDOW_EVENTS are triggered when Frame gains or losses the focus
* @author Jitender([email protected]) area=AWT
* @author yan
* @library ../../../../lib/testlibrary
* @build ExtendedRobot
* @run main ActiveAWTWindowTest
*/
* @test
* @key headful
* @summary To check proper WINDOW_EVENTS are triggered when Frame gains or losses the focus
* @author Jitender([email protected]) area=AWT
* @author yan
* @library ../../../../lib/testlibrary
* @build ExtendedRobot
* @run main ActiveAWTWindowTest
*/

import java.awt.*;
import java.awt.event.*;
Expand Down
Loading