Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 17000 invoked from network); 7 Apr 2005 16:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Apr 2005 16:21:55 -0000 Received: (qmail 57512 invoked by uid 500); 7 Apr 2005 16:21:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 57450 invoked by uid 500); 7 Apr 2005 16:21:51 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 57437 invoked by uid 99); 7 Apr 2005 16:21:51 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 10.21.96-84.rev.gaoland.net (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Apr 2005 09:21:49 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id A1D5C52DFB for ; Thu, 7 Apr 2005 18:21:47 +0200 (CEST) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31967-04 for ; Thu, 7 Apr 2005 18:21:45 +0200 (CEST) Received: from [10.0.0.27] (poukram.anyware [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id 87D1C52DF7 for ; Thu, 7 Apr 2005 18:21:45 +0200 (CEST) Message-ID: <42555E18.7030009@apache.org> Date: Thu, 07 Apr 2005 18:21:44 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Directory layout problem with htmlunit tests Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I encountered some problems with the newly added htmlunit tests in Eclipse: the layout of src/test (and other directories) is: - anteater: anteater xml files that should be deleted in favor of htmlunit - htmlunit: root of the java source file hierarchy for tests requiring a live server - org: root package of the regular junit tests This mixing of root package and classification directory confuses Eclipse that barfs saying that "htmlunit.org.apache...." isn't in the right directory. Moving all htmlunit classes is not an option as it runs in a different context as regular junit tests since it expects a live Cocoon to be available to send http requests, and therefore runs externally compared to other tests that run internally. To solve this problem and clarify the different test categories, I propose to split them into disctinct directories : - src/test/internal for current junit tests - src/test/external for htmlunit tests. Using the "external" name rather than "htmlunit" leaves room for other external test tools such as httpunit. WDYT ? Sylvain -- Sylvain Wallez Anyware Technologies http://apache.org/~sylvain http://anyware-tech.com Apache Software Foundation Member Research & Technology Director