-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta3
-
x86, sparc
-
generic
-
Verified
JDK : 1.4.0-beta_refresh-b75
JCK : jck 1.4-beta_refresh build b08
Platform[s] : Solaris(Sparc & x86)
switch/Mode : C1 , C2
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] :
api/javax_swing/interactive/JTextAreaTests.html#JTextArea [JTextAreaTest0020]
Test source location:
=====================
api test source:
/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JTextAreaTests.java
jtr file location:
==================
The jtr files are under the following base dir
file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/i386/s6_client_jtg-i104/workDir/api-interactive/api/javax_swing/interactive/JTextAreaTests_JTextArea.jtr
How to reproduce:
====================
Run The Attached Script
1) JTextArea.ksh
#!/bin/ksh
#
# README: Modify these threev variables to fit your need:
#
# - ${executeClass}
# - ${excludeCmd}
# - ${executeClassArgs}
# - ${executeContextArgs}
# - ${executeTestURL}
#
#################################
SWITCH=${1+$@}
#This is where you want the JDK to be use.
#Example: JDK=/net/jdk/export/disk8/local.java/jdk1.3.1
JDK=/net/jdk/export/disk8/local.java/jdk1.4
#This is where you want the JCK to be use.
#Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
#TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
JCK=${TESTBASE}/JCK-runtime-14
executeClass=javasoft.sqe.tests.api.javax.swing.interactive.JTextArea.JTextAreaTests
excludeCmd=
executeClassArgs="-TestCaseID JTextAreaTest0020"
executeTestURL=
#executeContextArgs is used for vm testing.
executeContextArgs=
#Example:
#
#executeClass=javasoft.sqe.tests.api.javax.swing.SwingUtilities.otherTests
#excludeCmd="-exclude JComboBox2027,JComboBox2026,JComboBox2028"
#executeClassArgs="-TestCaseID ALL"
#executeContextArgs="-nativeCodeSupported true"
executeTestURL="-TestDirURL file:///net/jtgb4u4c.eng/export/sail16/JCK/jck13afcs/JCK-runtime-
13a/tests/api/javax_swing/interactive/JMenuItemTests.html#JMenuItem"
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
Steps to Run:
-------------
1)Run The Script
2)Hilight the Text in Yellow TextBox And Drag to Green TextBox,The Text has to move from Yellow to Green TextBox but it Copies from Yelow to Green TextBox for the First Time,when it is Repeated for the second Time the Text moves from Yellow to Green and not Copied.
Test OutPut
===========
JTextAreaTest0020: Failed. setDragEnabled() method does not work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure: JTextAreaTest0020
Specific Machine Info:
=====================
For Solaris[sparc/x86] ->
jtg-i104>uname -a
SunOS jtg-i104 5.6 Generic_105182-25 i86pc i386 i86pc
jtg-s122>uname -a
SunOS jtg-s122 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-2
###@###.### 2001-08-14