author | goetz |
Fri, 28 Jul 2017 14:06:28 +0200 | |
changeset 46151 | 5fa789776f7d |
parent 45028 | b0ea3c0bfb81 |
permissions | -rw-r--r-- |
39868
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
1 |
/* |
46151
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
2 |
* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
39868
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
4 |
* |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
8 |
* |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
13 |
* accompanied this code). |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
14 |
* |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
18 |
* |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
21 |
* questions. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
22 |
*/ |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
23 |
|
46151
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
24 |
/** |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
25 |
* @test 8155740 |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
26 |
* @key headful |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
27 |
* @summary See <rdar://problem/3429130>: Events: actionPerformed() method not |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
28 |
* called when it is button is clicked (system load related) |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
29 |
* @summary com.apple.junit.java.awt.Frame |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
30 |
* @library ../../../regtesthelpers |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
31 |
* @build VisibilityValidator |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
32 |
* @build Util |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
33 |
* @build Waypoint |
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
34 |
* @run main NestedModelessDialogTest -Xlog:exception |
39868
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
35 |
*/ |
46151
5fa789776f7d
8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
goetz
parents:
45028
diff
changeset
|
36 |
|
39868
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
37 |
///////////////////////////////////////////////////////////////////////////// |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
38 |
// NestedModelessDialogTest.java |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
39 |
// The test launches a parent frame. From this parent frame it launches a modal |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
40 |
// dialog. From the modal dialog it launches a modeless dialog with a text |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
41 |
// field in it and tries to write into the text field. The test succeeds if you |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
42 |
// are successfully able to write into this Nested Modeless Dialog |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
43 |
///////////////////////////////////////////////////////////////////////////// |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
44 |
// classes necessary for this test |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
45 |
import java.awt.*; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
46 |
import java.awt.event.*; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
47 |
import java.util.Enumeration; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
48 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
49 |
import test.java.awt.regtesthelpers.Util; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
50 |
import test.java.awt.regtesthelpers.VisibilityValidator; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
51 |
import test.java.awt.regtesthelpers.Waypoint; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
52 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
53 |
public class NestedModelessDialogTest { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
54 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
55 |
Waypoint[] event_checkpoint = new Waypoint[3]; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
56 |
VisibilityValidator[] win_checkpoint = new VisibilityValidator[2]; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
57 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
58 |
IntermediateDialog interDiag; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
59 |
TextDialog txtDiag; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
60 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
61 |
// Global variables so the robot thread can locate things. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
62 |
Button[] robot_button = new Button[2]; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
63 |
TextField robot_text = null; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
64 |
static Robot _robot = null; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
65 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
66 |
/** |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
67 |
* Get called by test harness |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
68 |
* |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
69 |
* @throws Exception |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
70 |
*/ |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
71 |
public void testModelessDialogs() throws Exception { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
72 |
Frame frame = null; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
73 |
String result = ""; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
74 |
Robot robot = getRobot(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
75 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
76 |
event_checkpoint[0] = new Waypoint(); // "-Launch 1-" |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
77 |
event_checkpoint[1] = new Waypoint(); // "-Launch 2-" |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
78 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
79 |
// launch first frame with fistButton |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
80 |
frame = new StartFrame(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
81 |
VisibilityValidator.setVisibleAndConfirm(frame); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
82 |
Util.clickOnComp(robot_button[0], robot); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
83 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
84 |
// Dialog must be created and onscreen before we proceed. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
85 |
// The event_checkpoint waits for the Dialog to be created. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
86 |
// The win_checkpoint waits for the Dialog to be visible. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
87 |
event_checkpoint[0].requireClear(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
88 |
win_checkpoint[0].requireVisible(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
89 |
Util.clickOnComp(robot_button[1], robot); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
90 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
91 |
// Again, the Dialog must be created and onscreen before we proceed. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
92 |
// The event_checkpoint waits for the Dialog to be created. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
93 |
// The win_checkpoint waits for the Dialog to be visible. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
94 |
event_checkpoint[1].requireClear(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
95 |
win_checkpoint[1].requireVisible(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
96 |
Util.clickOnComp(robot_text, robot); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
97 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
98 |
// I'm really not sure whether the click is needed for focus |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
99 |
// but since it's asynchronous, as is the actually gaining of focus |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
100 |
// we might as well do our best |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
101 |
try { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
102 |
EventQueue.invokeAndWait(new Runnable() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
103 |
public void run() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
104 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
105 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
106 |
} catch (Exception e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
107 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
108 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
109 |
robot.keyPress(KeyEvent.VK_SHIFT); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
110 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
111 |
robot.keyPress(KeyEvent.VK_H); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
112 |
robot.waitForIdle(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
113 |
robot.keyRelease(KeyEvent.VK_H); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
114 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
115 |
robot.keyRelease(KeyEvent.VK_SHIFT); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
116 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
117 |
robot.keyPress(KeyEvent.VK_E); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
118 |
robot.waitForIdle(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
119 |
robot.keyRelease(KeyEvent.VK_E); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
120 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
121 |
robot.keyPress(KeyEvent.VK_L); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
122 |
robot.waitForIdle(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
123 |
robot.keyRelease(KeyEvent.VK_L); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
124 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
125 |
robot.keyPress(KeyEvent.VK_L); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
126 |
robot.waitForIdle(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
127 |
robot.keyRelease(KeyEvent.VK_L); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
128 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
129 |
robot.keyPress(KeyEvent.VK_O); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
130 |
robot.waitForIdle(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
131 |
robot.keyRelease(KeyEvent.VK_O); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
132 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
133 |
// |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
134 |
// NOTE THAT WE MAY HAVE MORE SYNCHRONIZATION WORK TO DO HERE. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
135 |
// CURRENTLY THERE IS NO GUARANTEE THAT THE KEYEVENT THAT THAT |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
136 |
// TYPES THE 'O' HAS BEEN PROCESSED BEFORE WE GET THE RESULT |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
137 |
// |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
138 |
// This is a (lame) attempt at waiting for the last typeKey events to |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
139 |
// propagate. It's not quite right because robot uses |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
140 |
// CGRemoteOperations, which are asynchronous. But that's why I put in |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
141 |
// the Thread.sleep |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
142 |
try { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
143 |
EventQueue.invokeAndWait(new Runnable() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
144 |
public void run() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
145 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
146 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
147 |
} catch (Exception e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
148 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
149 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
150 |
// Need to call this before the dialog that robot_text is in is disposed |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
151 |
result = robot_text.getText(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
152 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
153 |
Thread.sleep(50); // Thread.sleep adds stability |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
154 |
// Click Close box of modeless dialog with textField |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
155 |
Util.clickOnComp(txtDiag, robot); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
156 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
157 |
Thread.sleep(50); // Thread.sleep adds stability |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
158 |
// Click Close box of intermediate modal dialog |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
159 |
Util.clickOnComp(interDiag, robot); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
160 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
161 |
Thread.sleep(50); // Thread.sleep adds stability |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
162 |
// Click Close box of intermediate modal dialog |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
163 |
Util.clickOnComp(frame, robot); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
164 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
165 |
String expected = "Hello"; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
166 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
167 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
168 |
private static Robot getRobot() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
169 |
if (_robot == null) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
170 |
try { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
171 |
_robot = new Robot(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
172 |
} catch (AWTException e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
173 |
throw new RuntimeException("Robot creation failed"); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
174 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
175 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
176 |
return _robot; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
177 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
178 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
179 |
//////////////////// Start Frame /////////////////// |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
180 |
/** |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
181 |
* Launches the first frame with a button in it |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
182 |
*/ |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
183 |
class StartFrame extends Frame { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
184 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
185 |
/** |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
186 |
* Constructs a new instance. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
187 |
*/ |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
188 |
public StartFrame() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
189 |
super("First Frame"); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
190 |
setLayout(new GridBagLayout()); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
191 |
setLocation(375, 200); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
192 |
setSize(271, 161); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
193 |
Button but = new Button("Make Intermediate"); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
194 |
but.addActionListener(new java.awt.event.ActionListener() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
195 |
public void actionPerformed(ActionEvent e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
196 |
interDiag = new IntermediateDialog(StartFrame.this); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
197 |
win_checkpoint[0] = new VisibilityValidator(interDiag); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
198 |
interDiag.setSize(300, 200); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
199 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
200 |
// may need listener to watch this move. |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
201 |
interDiag.setLocation(getLocationOnScreen()); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
202 |
interDiag.pack(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
203 |
event_checkpoint[0].clear(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
204 |
interDiag.setVisible(true); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
205 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
206 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
207 |
Panel pan = new Panel(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
208 |
pan.add(but); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
209 |
add(pan); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
210 |
robot_button[0] = but; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
211 |
addWindowListener(new WindowAdapter() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
212 |
public void windowClosing(WindowEvent e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
213 |
setVisible(false); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
214 |
dispose(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
215 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
216 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
217 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
218 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
219 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
220 |
///////////////////////////// VARIOUS DIALOGS ////////////////////////// |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
221 |
/* A Dialog that launches a sub-dialog */ |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
222 |
class IntermediateDialog extends Dialog { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
223 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
224 |
Dialog m_parent; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
225 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
226 |
public IntermediateDialog(Frame parent) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
227 |
super(parent, "Intermediate Modal", true /*Modal*/); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
228 |
m_parent = this; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
229 |
Button but = new Button("Make Text"); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
230 |
but.addActionListener(new java.awt.event.ActionListener() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
231 |
public void actionPerformed(ActionEvent e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
232 |
txtDiag = new TextDialog(m_parent); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
233 |
win_checkpoint[1] = new VisibilityValidator(txtDiag); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
234 |
txtDiag.setSize(300, 100); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
235 |
event_checkpoint[1].clear(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
236 |
txtDiag.setVisible(true); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
237 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
238 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
239 |
Panel pan = new Panel(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
240 |
pan.add(but); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
241 |
add(pan); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
242 |
pack(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
243 |
addWindowListener(new WindowAdapter() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
244 |
public void windowClosing(WindowEvent e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
245 |
setVisible(false); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
246 |
dispose(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
247 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
248 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
249 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
250 |
// The robot needs to know about us, so set global |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
251 |
robot_button[1] = but; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
252 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
253 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
254 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
255 |
/* A Dialog that just holds a text field */ |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
256 |
class TextDialog extends Dialog { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
257 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
258 |
public TextDialog(Dialog parent) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
259 |
super(parent, "Modeless Dialog", false /*Modeless*/); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
260 |
TextField txt = new TextField("", 10); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
261 |
Panel pan = new Panel(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
262 |
pan.add(txt); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
263 |
add(pan); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
264 |
pack(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
265 |
addWindowListener(new WindowAdapter() { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
266 |
public void windowClosing(WindowEvent e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
267 |
setVisible(false); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
268 |
dispose(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
269 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
270 |
}); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
271 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
272 |
// The robot needs to know about us, so set global |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
273 |
robot_text = txt; |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
274 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
275 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
276 |
|
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
277 |
public static void main(String[] args) throws RuntimeException { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
278 |
try { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
279 |
new NestedModelessDialogTest().testModelessDialogs(); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
280 |
} catch (Exception e) { |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
281 |
throw new RuntimeException("NestedModelessDialogTest object " |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
282 |
+ "creation failed"); |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
283 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
284 |
} |
79bc8722ebb0
8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
mhalder
parents:
diff
changeset
|
285 |
} |