You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2007/03/20 07:02:32 UTC
[jira] Created: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
[classlib][luni]move out tests/api/java/net/URLConnectionTest.java
------------------------------------------------------------------
Key: HARMONY-3434
URL: https://issues.apache.org/jira/browse/HARMONY-3434
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Tony Wu
move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
Posted by "Ruth Cao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruth Cao updated HARMONY-3434:
------------------------------
Attachment: Harmony-3434.diff
I've created a patch, which mainly did the following things to refactor this test case:
1. Use Jetty as an embedded HTTP server.
2. Add 'Date', 'Last-modified' header in Jetty handler in order to ensure test_getLastModified, test_getDate and test_getHeaderFieldDateLjava_lang_StringJ to be run.
> [classlib][luni]move out tests/api/java/net/URLConnectionTest.java
> ------------------------------------------------------------------
>
> Key: HARMONY-3434
> URL: https://issues.apache.org/jira/browse/HARMONY-3434
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Attachments: Harmony-3434.diff
>
>
> move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
Posted by "Ruth Cao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485079 ]
Ruth Cao commented on HARMONY-3434:
-----------------------------------
Paulex, it seems that this failure is due to HARMONY-617. This test passes on Harmony before this patch was committed and RI also passes it. Would you pls reopen it? Thanks a lot.
> [classlib][luni]move out tests/api/java/net/URLConnectionTest.java
> ------------------------------------------------------------------
>
> Key: HARMONY-3434
> URL: https://issues.apache.org/jira/browse/HARMONY-3434
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Paulex Yang
> Attachments: Harmony-3434.diff
>
>
> move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulex Yang resolved HARMONY-3434.
----------------------------------
Resolution: Fixed
Ruth, you are right, patch applied at revision r523585, thanks a lot for this, please verify.
> [classlib][luni]move out tests/api/java/net/URLConnectionTest.java
> ------------------------------------------------------------------
>
> Key: HARMONY-3434
> URL: https://issues.apache.org/jira/browse/HARMONY-3434
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Paulex Yang
> Attachments: Harmony-3434.diff
>
>
> move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
Posted by "Ruth Cao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485098 ]
Ruth Cao commented on HARMONY-3434:
-----------------------------------
It works fine. Thank you for the commit, Paulex.
> [classlib][luni]move out tests/api/java/net/URLConnectionTest.java
> ------------------------------------------------------------------
>
> Key: HARMONY-3434
> URL: https://issues.apache.org/jira/browse/HARMONY-3434
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Paulex Yang
> Attachments: Harmony-3434.diff
>
>
> move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulex Yang reassigned HARMONY-3434:
------------------------------------
Assignee: Paulex Yang
> [classlib][luni]move out tests/api/java/net/URLConnectionTest.java
> ------------------------------------------------------------------
>
> Key: HARMONY-3434
> URL: https://issues.apache.org/jira/browse/HARMONY-3434
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Paulex Yang
> Attachments: Harmony-3434.diff
>
>
> move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3434) [classlib][luni]move out
tests/api/java/net/URLConnectionTest.java
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484752 ]
Paulex Yang commented on HARMONY-3434:
--------------------------------------
Ruth, I got 1 failure of URLConnectionTest on linux.ia32 after applying your patch, exception trace like below, did I miss something?
[junit] java.net.SocketException: Broken pipe
[junit] at org.apache.harmony.luni.platform.OSNetworkSystem.sendStreamImpl(Native Method)
[junit] at org.apache.harmony.luni.platform.OSNetworkSystem.sendStream(OSNetworkSystem.java:234)
[junit] at org.apache.harmony.luni.net.PlainSocketImpl.write(PlainSocketImpl.java:555)
[junit] at org.apache.harmony.luni.net.SocketOutputStream.write(SocketOutputStream.java:50)
[junit] at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection$HttpOutputStream.output(HttpURLConnection.java:408)
[junit] at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection$HttpOutputStream.sendCache(HttpURLConnection.java:416)
[junit] at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection$HttpOutputStream.close(HttpURLConnection.java:449)
[junit] at tests.support.Support_HttpTests.runTests(Support_HttpTests.java:175)
[junit] at tests.api.java.net.URLConnectionTest.test_getInputStream(URLConnectionTest.java:565)
[junit] at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:207)
[junit] at java.lang.reflect.Method.invoke(Method.java:258)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:546)
> [classlib][luni]move out tests/api/java/net/URLConnectionTest.java
> ------------------------------------------------------------------
>
> Key: HARMONY-3434
> URL: https://issues.apache.org/jira/browse/HARMONY-3434
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Paulex Yang
> Attachments: Harmony-3434.diff
>
>
> move out tests/api/java/net/URLConnectionTest.java from exclude list
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.