The following test failed if the codebase value on the html file of slave agent had setted as "http:"; however, it passed if codebase value had setted as "file://".
Test also passed using the appletviewer.
JDK : 1.4.0-beta-b88
JCK : jck1.4-b13
Platform[s] : Solaris sparc/intel
switch/Mode : Plugin NS4.76
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/java_beans/SimpleBeanInfo/descriptions.html#loadImage
SimpleBeanInfo0009
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_beans/SimpleBeanInfo/loadImageTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b88/jck14/sparc/s6_plugin_ns4.76_jtg-s114/workDir/api/java_beans/SimpleBeanInfo/descriptions_loadImage.jtr
How to reproduce:
====================
Run the attached script Plug-in.ksh as codebase set as "http".
Modify the JDK_PATH to point to your copy of the SDK.
Plug-in.ksh JCK14 api NS476
On Java Test, click "Revove All" then add following test
api/java_beans/SimpleBeanInfo/descriptions.html#loadImage
Click "Actions" -> "Start Run"
Click "Tools" -> "Test Summary Browse", to see the result.
To run slave agent as "file"
On the browser replace the html filename with try.html. Keep the path the same.
After the applet had reloaded, replace "sqesvr" with your test machine hostname, Then click Start.
Click "Actions" -> "Repeat test". run the test again.
Test output:
=============
javasoft.sqe.tests.api.java.beans.SimpleBeanInfo.MySimpleBeanInfo
http://jtgb4u4c/sail16/JCK/jck14/JCK-runtime-14/classes/javasoft/sqe/tests/api/java/beans/SimpleBeanInfo/images/image.gif
java.net.UnknownServiceException: no content-type
----------log:(4/158)----------
Executing command via jtg-s114,port=34044,localport=2901
SimpleBeanInfo0009: Failed. failed
SimpleBeanInfo0010: Passed. OKAY
SimpleBeanInfo0011: Passed. OKAY
result: Failed. tests: 3; passed: 2; failed: 1; first test case failure: SimpleBeanInfo0009
Specific Machine Info:
=====================
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
Test also passed using the appletviewer.
JDK : 1.4.0-beta-b88
JCK : jck1.4-b13
Platform[s] : Solaris sparc/intel
switch/Mode : Plugin NS4.76
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/java_beans/SimpleBeanInfo/descriptions.html#loadImage
SimpleBeanInfo0009
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_beans/SimpleBeanInfo/loadImageTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b88/jck14/sparc/s6_plugin_ns4.76_jtg-s114/workDir/api/java_beans/SimpleBeanInfo/descriptions_loadImage.jtr
How to reproduce:
====================
Run the attached script Plug-in.ksh as codebase set as "http".
Modify the JDK_PATH to point to your copy of the SDK.
Plug-in.ksh JCK14 api NS476
On Java Test, click "Revove All" then add following test
api/java_beans/SimpleBeanInfo/descriptions.html#loadImage
Click "Actions" -> "Start Run"
Click "Tools" -> "Test Summary Browse", to see the result.
To run slave agent as "file"
On the browser replace the html filename with try.html. Keep the path the same.
After the applet had reloaded, replace "sqesvr" with your test machine hostname, Then click Start.
Click "Actions" -> "Repeat test". run the test again.
Test output:
=============
javasoft.sqe.tests.api.java.beans.SimpleBeanInfo.MySimpleBeanInfo
http://jtgb4u4c/sail16/JCK/jck14/JCK-runtime-14/classes/javasoft/sqe/tests/api/java/beans/SimpleBeanInfo/images/image.gif
java.net.UnknownServiceException: no content-type
----------log:(4/158)----------
Executing command via jtg-s114,port=34044,localport=2901
SimpleBeanInfo0009: Failed. failed
SimpleBeanInfo0010: Passed. OKAY
SimpleBeanInfo0011: Passed. OKAY
result: Failed. tests: 3; passed: 2; failed: 1; first test case failure: SimpleBeanInfo0009
Specific Machine Info:
=====================
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
- duplicates
-
JDK-4615117 REGRESSION: UrlConnection::getContentType returns NULL when running the applet
-
- Closed
-