Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 34239 invoked from network); 27 Feb 2006 14:04:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 14:04:10 -0000 Received: (qmail 89273 invoked by uid 500); 27 Feb 2006 14:03:51 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 89213 invoked by uid 500); 27 Feb 2006 14:03:51 -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 89183 invoked by uid 99); 27 Feb 2006 14:03:51 -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 06:03:49 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B6019DD for ; Mon, 27 Feb 2006 15:03:28 +0100 (CET) Message-ID: <1864618337.1141049008743.JavaMail.jira@ajax.apache.org> Date: Mon, 27 Feb 2006 15:03:28 +0100 (CET) From: "Tim Ellison (JIRA)" To: harmony-dev@incubator.apache.org Subject: [jira] Closed: (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 closed HARMONY-138: ------------------------------- Verified by Stepan. > 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