-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.3.1_01
-
x86
-
linux
Name: dkC103137 Date: 10/19/2000
JRE/plugin version:
Java(TM) Plug-in: Version 1.3.0_01
Using JRE version 1.3.0_01 Java HotSpot(TM) Client VM
Platform:
RedHat 6.2/KDE
The JCK1.3 runtime api/javax_swing/JFileChooser/descriptions.html#news test fails under plugin if display is set to remote linux host with KDE window
manager. Here is descriptions_news.jtr file:
---------------------------------------------------------------------------------------------------------------
#Test Results (version 2)
#Thu Oct 19 16:34:36 GMT+07:00 2000
#checksum:7608db9932c196a0
#-----testdescription-----
$file=/.automount/linux-15/root/export/home/jck1.3/JCK-runtime-13fcs/tests/api/javax_swing/JFileChooser/descriptions.html
$root=/.automount/linux-15/root/export/home/jck1.3/JCK-runtime-13fcs/tests
executeArgs=-TestCaseID ALL -TestURL $testURL -TestWorkDirURL $testWorkDirURL
executeClass=javasoft.sqe.tests.api.javax.swing.JFileChooser.newsTests
id=news
keywords=javax positive runtime swing
source=newsTests.java
title=JFileChooser method and variable tests
#-----environment-----
ExecJCKTestSameJVMCmd=javasoft.sqe.javatest.lib.ExecJCKTestSameJVMCmd
SlaveCommand=javasoft.sqe.javatest.lib.SlaveCommand
command.testExecute=$SlaveCommand $ExecJCKTestSameJVMCmd $testExecuteClass $testExecuteArgs
#-----testresult-----
description=file:/.automount/linux-15/root/export/home/jck1.3/JCK-runtime-13fcs/tests/api/javax_swing/JFileChooser/descriptions.html#news
end=Thu Oct 19 16:34:36 GMT+07:00 2000
environment=common-Slave
execStatus=Failed. tests: 8; passed: 2; failed: 6; first test case failure: JFileChooser0001
javatestOS=Linux 2.2.14-5.0 (i386)
javatestVersion=JT_2.1.2j
script=javasoft.sqe.javatest.lib.JCKScript -runtime
sections=script_messages testExecute
start=Thu Oct 19 16:34:34 GMT+07:00 2000
status=Failed. tests: 8; passed: 2; failed: 6; first test case failure: JFileChooser0001
test=api/javax_swing/JFileChooser/descriptions.html#news
timeoutSeconds=600
work=/.automount/linux-11/root/export/home/results/plugin/JCK13-api-plugin/api/javax_swing/JFileChooser
#section:script_messages
----------messages:(1/24)----------
Executing test class...
#section:testExecute
----------messages:(1/428)----------
command: javasoft.sqe.javatest.lib.SlaveCommand javasoft.sqe.javatest.lib.ExecJCKTestSameJVMCmd
javasoft.sqe.tests.api.javax.swing.JFileChooser.newsTests -TestCaseID ALL -TestURL
file:/.automount/linux-15/root/export/home/jck1.3/JCK-runtime-13fcs/tests/api/javax_swing/JFileChooser/descriptions.html#news -TestWorkDirURL
file:///.automount/linux-11/root/export/home/results/plugin/JCK13-api-plugin/api/javax_swing/JFileChooser/
----------ref:(14/2946)----------
====== JFileChooser2072 ====== public static final String ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
====== JFileChooser2073 ====== public static final String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
====== JFileChooser0001 ====== public boolean getControlButtonsAreShown()
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=,flags=1280,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/linux-11/root/export/home/results/plugin,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
====== JFileChooser0002 ====== public boolean getControlButtonsAreShown()
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=,flags=1280,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/linux-11/root/export/home/results/plugin,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
====== JFileChooser0003 ====== public boolean getControlButtonsAreShown()
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=,flags=1280,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/linux-11/root/export/home/results/plugin,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
====== JFileChooser0004 ====== public boolean isAcceptAllFileFilterUsed()
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=,flags=1280,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/linux-11/root/export/home/results/plugin,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
====== JFileChooser0005 ====== public boolean isAcceptAllFileFilterUsed()
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=,flags=1280,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/linux-11/root/export/home/results/plugin,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
====== JFileChooser0006 ====== public boolean isAcceptAllFileFilterUsed()
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=,flags=1280,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/linux-11/root/export/home/results/plugin,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
----------log:(9/509)----------
Executing command via localhost.localdomain,port=2283,localport=1907
JFileChooser2072: Passed. OKAY
JFileChooser2073: Passed. OKAY
JFileChooser0001: Failed. Failed to create JFileChooser object
JFileChooser0002: Failed. Failed to create JFileChooser object
JFileChooser0003: Failed. Failed to create JFileChooser object
JFileChooser0004: Failed. Failed to create JFileChooser object
JFileChooser0005: Failed. Failed to create JFileChooser object
JFileChooser0006: Failed. Failed to create JFileChooser object
result: Failed. tests: 8; passed: 2; failed: 6; first test case failure: JFileChooser0001
test result: Failed. tests: 8; passed: 2; failed: 6; first test case failure: JFileChooser0001
---------------------------------------------------------------------------------------------------------
The test passes under plugin in GNOME/Enlightment window manager or with local display.
======================================================================
- duplicates
-
JDK-4400728 JFileChooser constructors set incorrect default directory on Windows.
- Resolved