-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b47
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 03/25/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b43
Testbase : Regression-test
Platform[s] : all
Falling test: java/awt/Dialog/DialogSystemMenu/DialogSystemMenu.html
It seems like Instructions for manual Regression test java/awt/Dialog/DialogSystemMenu/DialogSystemMenu.html
are incorrect.
Test Description in DialogSystemMenu.html reads:
--------- DialogSystemMenu.html ---------
...
16 Check the following on the two dialogs:
17
18 dialogFixed
19 - is not resizable
20 - should have no icon in the top-left
21 - should have no min/max/close buttons in the top-right
22 - if you right click on the title bar, the system menu should only have
23 Move and Close
24
25 dialogResizable
26 - is resizable
27 - inherits the same icon as it's frame, it's owner
28 - the icon should change on the fly to reflect the frame's icon
29 - has only Move, Size and Close items in it's system menu
...
-----------------------------------------
However, only one dialog named "Testcase for 4058953" appears after the test starting.
This dialog contains the following text:
...
Win32 Test:
This is a modal dialog. Right-clicking on the titlebar should bring up a system menu.
The system menu should not allow any of the Maximize, Minimize and Restore actions.
...
So, if instructions in tested dialog are correct, DialogSystemMenu.html file should be updated in accordance with it.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b43/ws/j2se/test/java/awt/Dialog/DialogSystemMenu/DialogSystemMenu.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b43/regtest/win32/Windows_XP_Pro_manual_linux-16/workDir/test-manual/java/awt/Dialog/DialogSystemMenu/DialogSystemMenu.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#Paths in Java Software:
TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b43/binaries/linux-i586"
TESTBASE="/java/re/jdk/1.5.0/promoted/all/b43/ws/j2se/test"
#Alternative paths outside Java Software
#TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b43/binaries/linux-i586"
#TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b43/ws/j2se/test"
#Alternative paths for the NSK site:
#TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
#TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"
cp $TESTBASE/java/awt/Dialog/DialogSystemMenu/* .
$TESTJAVA/bin/javac *.java
$TESTJAVA/bin/appletviewer DialogSystemMenu.html
--- script end ---
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================