-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0, 1.4.1, 1.4.2
-
tiger
-
generic, x86, sparc
-
generic, linux, windows_2000
-
Verified
See 4668513 for a clear description of the problem. The fix to this bug should be a doc change.
###@###.### 2003-01-27
Original description:
---------------------
Name: asR10013 Date: 04/08/2002
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-b07
JCK : jck1.4-b17
Platform[s] : Windows 2000 pro
switch/Mode : -client -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
[BorderFactoryTest0003]
Shadow borders created with BorderFactory.createBevelBorder(raisedInt,
Color.WHITE, Color.BLACK, Color.red, Color.blue)
interchange their shadowInner and shadowOuter colors depending whether
they are raised or not.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/BorderFactoryTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b07/jck14/win32/win2000_client_linux-2/workDir/api/javax_swing/BorderFactoryTests_BorderFactory.jtr
How to reproduce:
=================
Run the following script (you may need to change JCK and JDK variables)
The test window appears and you are provided with instructions to
complete the test.
Notice that
when the "Raised" checkbox is checked then
shadowInner=blue and shadowOuter=red
while when the "Raised" checkbox is NOT checked
then
shadowInner=red and shadowOuter=blue.
highlightInner and highlightOuter are treated correctly.
--- script start ---
#!/bin/sh
# change variables as needed
JCK="c:/jck1.4/JCK-runtime-14"
JDK="c:/jdk1.4.1"
switches="-client -Xmixed -Xfuture"
CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.BorderFactory.BorderFactoryTests
-TestCaseID BorderFactoryTest0003 -TestDirURL file:///${JCK}/tests/api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
--- script end ---
Test output:
============
BorderFactoryTest0003: Failed.
BorderFactorycreateBevelBorder(type,highlightOuter,highlightInner,shadowOuter,shadowInner)
does not work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure:
BorderFactoryTest0003
Specific Machine Info:
======================
Hostname: linux-2
OS: Windows 2000 pro
======================================================================
###@###.### 2003-01-27
Original description:
---------------------
Name: asR10013 Date: 04/08/2002
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-b07
JCK : jck1.4-b17
Platform[s] : Windows 2000 pro
switch/Mode : -client -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
[BorderFactoryTest0003]
Shadow borders created with BorderFactory.createBevelBorder(raisedInt,
Color.WHITE, Color.BLACK, Color.red, Color.blue)
interchange their shadowInner and shadowOuter colors depending whether
they are raised or not.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/BorderFactoryTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b07/jck14/win32/win2000_client_linux-2/workDir/api/javax_swing/BorderFactoryTests_BorderFactory.jtr
How to reproduce:
=================
Run the following script (you may need to change JCK and JDK variables)
The test window appears and you are provided with instructions to
complete the test.
Notice that
when the "Raised" checkbox is checked then
shadowInner=blue and shadowOuter=red
while when the "Raised" checkbox is NOT checked
then
shadowInner=red and shadowOuter=blue.
highlightInner and highlightOuter are treated correctly.
--- script start ---
#!/bin/sh
# change variables as needed
JCK="c:/jck1.4/JCK-runtime-14"
JDK="c:/jdk1.4.1"
switches="-client -Xmixed -Xfuture"
CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.BorderFactory.BorderFactoryTests
-TestCaseID BorderFactoryTest0003 -TestDirURL file:///${JCK}/tests/api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
--- script end ---
Test output:
============
BorderFactoryTest0003: Failed.
BorderFactorycreateBevelBorder(type,highlightOuter,highlightInner,shadowOuter,shadowInner)
does not work as expected.
STATUS:Failed.tests: 1; failed: 1; first test case failure:
BorderFactoryTest0003
Specific Machine Info:
======================
Hostname: linux-2
OS: Windows 2000 pro
======================================================================
- duplicates
-
JDK-4807438 JCK1.4a-runtime interactive BorderFactoryTests failed
- Closed
-
JDK-4668513 Swing BorderFactory.createBevelBorder() spec doesn't completely specify behavior
- Closed