From dev-return-24612-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Mar 01 09:51:22 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 9803 invoked from network); 1 Mar 2007 09:51:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 09:51:20 -0000 Received: (qmail 36269 invoked by uid 500); 1 Mar 2007 09:51:27 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 36244 invoked by uid 500); 1 Mar 2007 09:51:26 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 36235 invoked by uid 99); 1 Mar 2007 09:51:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 01:51:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alexei.zakharov@gmail.com designates 209.85.134.188 as permitted sender) Received: from [209.85.134.188] (HELO mu-out-0910.google.com) (209.85.134.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 01:51:15 -0800 Received: by mu-out-0910.google.com with SMTP id w1so385163mue for ; Thu, 01 Mar 2007 01:50:54 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V7AaWyYJIHerDzPN68n8KbZo/LbdLQTmqsRcab0HyiJXgP1Dq6XfBmFanK7qpI5OscEqAX8qGyMrWoycN66o0hnrbcM+/s2PlKkqLLYRmFEFv+ep89MgXaHqQskX+opxuroK2HYSq4+KhThoNSgAfIoKKseSjIXgsxiEDWrhvPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Uv68LUC8ML5nfFBUxvltPOrI1ndSL6Bj8TnlogwOH6d7Z3+p1eO2JqfhEO98zaZOCzDZmJQISVzkbHZmzwvOINQB/axTHQyqBB0M7jtyP57AwDZlJ+OUno+rGFQ/4YI9PVgdk7Z0N7a5fE94deWEGT8UUrgp/uI8djPkSFiuCkI= Received: by 10.82.188.15 with SMTP id l15mr516484buf.1172742653931; Thu, 01 Mar 2007 01:50:53 -0800 (PST) Received: by 10.82.107.19 with HTTP; Thu, 1 Mar 2007 01:50:53 -0800 (PST) Message-ID: <2c9597b90703010150k17266c17l3cc2768730cadc3a@mail.gmail.com> Date: Thu, 1 Mar 2007 12:50:53 +0300 From: "Alexei Zakharov" To: dev@harmony.apache.org Subject: Re: [classlib][test]how to set up a http proxy server for unit test. In-Reply-To: <211709bc0702281838v14e78798kd1d61910487207a7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <211709bc0702270142k6d513af1g1e51133ae753a0c6@mail.gmail.com> <2c9597b90702280218m54979a51x6c705ae18a1aeabb@mail.gmail.com> <211709bc0702281838v14e78798kd1d61910487207a7@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org > that's not a bad idea, we can find all TODOs in exclude lists rather > than src code. Yes, this is exactly what I mean. Thanks, 2007/3/1, Tony Wu : > Thanks Alexei, > > that's not a bad idea, we can find all TODOs in exclude lists rather > than src code. > I'll try if no one object. > > On 2/28/07, Alexei Zakharov wrote: > > Hi Tony, > > > > IIRC we have agreed that commenting out test code is not the best > > possible solution. Can we just split off proxy-related tests into a > > separate test class (ProxyTest for example) and then put > > this new class to exclude list? > > > > Thanks, > > > > 2007/2/27, Tony Wu : > > > Hello all, > > > I have been working on moving out the exclude tests in java.net these > > > days. Some of them need a proxy server. IIRC we have adopted jetty to > > > avoid external server dependencies before, but unfortunately, the > > > ProxyHandler of Jetty has not been implemented yet. So I purpose to > > > comment out the proxy related testcases and move out the test class > > > from exclude list. I'll add a TODO in the code and wait for the > > > upcoming new version of Jetty. > > > > > > Another way is tha find out another tool to set up a proxy server. In > > > my opinion, we'd better not import another dependency if possible. And > > > if it is not an embedding server, we have to write some ugly code in > > > order to run test automatically. > > > > > > suggestions?concerns? -- Alexei Zakharov, Intel ESSD