-
Bug
-
Resolution: Fixed
-
P1
-
1.4.0
-
beta2
-
x86, sparc
-
generic, linux, windows_95, windows_nt
-
Verified
Name: icR10030 Date: 06/04/2001
Method setInvokesStopCellEditing() does not work as expected.
Testcase description:
"This test verifies the behavior of the setInvokesStopCellEditing() method.
An editable JTree and an "Invokes Stop_Cell_Editing" checkbox are shown below.
Please verify that the checkbox is initially unchecked,
and that changes made to the the tree are not saved if
editing is interrupted by selecting another node in the tree.
..."
But changes made to the the tree are ALWAYS saved.
JDK : jdk1.4.0-b66
JCK : JCK1.3a
Platform[s] : Linux RedHat 6.2, Windows ME, Windows NT
switch/Mode : -client -Xmixed
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test : api/javax_swing/interactive/JTreeTests.html#JTree
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/interactive/JTreeTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail16/results/merlin/b66/jck13a/linux/win32/winme_client_linux-18/workDir/api-interactive/javax_swing/interactive/JTreeTests_JTree.jtr
How to reproduce:
=================
--------Script START---------------------
#!/bin/sh
JCK=/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a
#JCK=x:/jck1.3a/JCK-runtime-13a
export JCK
CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
export CLASSPATH
JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
#JAVA_HOME=x:/jdk1.4/win32
export JAVA_HOME
$JAVA_HOME/bin/java -version
$JAVA_HOME/bin/java -Xmixed -Xfuture javasoft.sqe.tests.api.javax.swing.interactive.JTree.JTreeTests -TestCaseID JTreeTest0013
--------Script END----------------------
Test output:
============
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b66)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b66, mixed mode)
JTreeTest0013: Failed. setInvokesStopCellEditing() method does not work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure: JTreeTest0013
Specific Machine Info:
======================
Hostname: Linux-13, Linux-18, Linux-21
Os: Redhat 6.2, Windows ME, Windows NT
======================================================================