harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-138) 2 regression tests for URLConnection class should be network independent
Date Mon, 27 Feb 2006 13:26:43 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-138?page=all ]
Tim Ellison resolved HARMONY-138:

    Resolution: Fixed

Thanks Stepan.

 A sneaky hack! I like your style ;-)
Applied to LUNI module org.apache.harmony.tests.java.net.URLConnectionTest at repo revision

Please check it was applied as you expected.

> 2 regression tests for URLConnection class should be network independent
> ------------------------------------------------------------------------
>          Key: HARMONY-138
>          URL: http://issues.apache.org/jira/browse/HARMONY-138
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>     Reporter: Stepan Mishura
>     Assignee: Tim Ellison
>     Priority: Minor
>  Attachments: fixURLConnectionTest.txt
> There are two regression tests for URLConnection class:
> - HARMONY-71: test_setUseCachesZ
> - HARMONY-72: test_setAllowUserInteractionZ
> They may fail because depend on network connection. It is possible to fix these tests
to avoid dependency on connection because they verify URLConnection object state only and
opened connections are not used by tests. Also tests should verify URLConnection class code
rather then a default implementation of HttpURLConnection class because tested method may
be overridden by default implementation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message