jdk/test/java/awt/Modal/PrintDialogsTest/PrintDialogsTest.html
author avstepan
Tue, 18 Nov 2014 16:32:04 +0400
changeset 28067 447be91cbc44
permissions -rw-r--r--
8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9 Summary: Some modality tests for Print dialog were added Reviewed-by: pchelko
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28067
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     1
<!--
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     2
Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     4
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     5
This code is free software; you can redistribute it and/or modify it
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     6
under the terms of the GNU General Public License version 2 only, as
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     7
published by the Free Software Foundation.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     8
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
     9
This code is distributed in the hope that it will be useful, but WITHOUT
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    11
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    12
version 2 for more details (a copy is included in the LICENSE file that
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    13
accompanied this code).
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    14
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    15
You should have received a copy of the GNU General Public License version
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    16
2 along with this work; if not, write to the Free Software Foundation,
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    17
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    18
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    19
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    20
or visit www.oracle.com if you need additional information or have any
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    21
questions.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    22
-->
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    23
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    24
<html>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    25
<head>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    26
<title> PrintDialogsTest </title>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    27
</head>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    28
<body>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    29
<applet code="PrintDialogsTest.class" width=250 height=350></applet>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    30
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    31
Please select dialog modality type and parent; also select
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    32
the print auxiliary dialog to be displayed (Page Setup or Print dialog).
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    33
Then click "Start test" button.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    34
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    35
When the windows will appear check if modal blocking for Dialog works as expected.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    36
Then push "Open" button on the Dialog to show the auxiliary dialog and check
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    37
if it blocks the rest of the application. Then close it and check correctness
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    38
of modal blocking behavior for the Dialog again. To close all the test
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    39
windows please push "Finish" button.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    40
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    41
To finish the overall test push "Pass" or "Fail" button depending on result.
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    42
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    43
</body>
447be91cbc44 8055836: move awt tests from AWT_Modality to OpenJDK repository - part 9
avstepan
parents:
diff changeset
    44
</html>