Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 9727 invoked from network); 27 Feb 2006 13:27:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 13:27:09 -0000 Received: (qmail 27518 invoked by uid 500); 27 Feb 2006 13:27:05 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 27459 invoked by uid 500); 27 Feb 2006 13:27:05 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 27448 invoked by uid 99); 27 Feb 2006 13:27:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 05:27:04 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6C4C1DE for ; Mon, 27 Feb 2006 14:26:43 +0100 (CET) Message-ID: <1261468161.1141046803441.JavaMail.jira@ajax.apache.org> Date: Mon, 27 Feb 2006 14:26:43 +0100 (CET) From: "Tim Ellison (JIRA)" To: harmony-dev@incubator.apache.org Subject: [jira] Resolved: (HARMONY-138) 2 regression tests for URLConnection class should be network independent In-Reply-To: <231959761.1141026544562.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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 381337. 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira