Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 30841 invoked from network); 1 Jan 2009 23:38:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jan 2009 23:38:27 -0000 Received: (qmail 10382 invoked by uid 500); 1 Jan 2009 23:38:26 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 10318 invoked by uid 500); 1 Jan 2009 23:38:25 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 10307 invoked by uid 99); 1 Jan 2009 23:38:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2009 15:38:25 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ralph.goers@dslextreme.com designates 209.85.200.174 as permitted sender) Received: from [209.85.200.174] (HELO wf-out-1314.google.com) (209.85.200.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2009 23:38:18 +0000 Received: by wf-out-1314.google.com with SMTP id 28so6111418wfa.27 for ; Thu, 01 Jan 2009 15:37:57 -0800 (PST) Received: by 10.142.58.20 with SMTP id g20mr7095879wfa.191.1230853077174; Thu, 01 Jan 2009 15:37:57 -0800 (PST) Received: from ?192.168.10.129? (adsl-66-51-196-164.dslextreme.com [66.51.196.164]) by mx.google.com with ESMTPS id 20sm37022764wfi.47.2009.01.01.15.37.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Jan 2009 15:37:56 -0800 (PST) Message-Id: <08ED70EE-F085-4935-8D1E-18B405743EAE@dslextreme.com> To: Commons Developers List Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: [VFS] tests and project status Date: Thu, 1 Jan 2009 15:37:54 -0800 X-Mailer: Apple Mail (2.930.3) From: Ralph Goers X-Virus-Checked: Checked by ClamAV on apache.org I'm working on commons vfs trying to implement webdav using the Jackrabbit client. I finished coding it but before trying to test that I wanted to test the existing providers to make sure I have a basic setup working. I've looked at http://commons.apache.org/vfs/testserver.html and a number of things don't make sense to me. 1. It references test-data/read-tests. No such directory exists in subversion. Instead, the directory is actually named test-data/ basedir, which seems like a mistake. 2. It describes doing things with ant or the RunTest class, but the build mvn install works fine, although many of the unit tests being run are incorrectly set up (see below). 3. test-data/write-tests doesn't exist. It should be present in subversion with a dummy file so that mvn test will just work, or it should be created automatically when running the build. 4. None of the provider test cases actually extend Junit TestCase, so nothing happens when you try to run them. 5. Changing AbstractProviderTestConfig to extend AbstractProviderTestCase, which seems like what should happen generates an error since AbstractProviderTestCase declares getBaseTestFolder to be protected while it is also declared in the ProviderTestConfig interface, which means it has to be public in AbstractProviderTestCase. 6. Fixing all this and then running mvn test gets all kinds of errors, even on some of the providers that should work - like the local provider. I started all this on vfs trunk and noticed that it seems to be for an as yet unreleased 2.0 so I went an looked at the 1.x branch but it doesn't look a whole lot different. Do these tests really run? Should I be working on trunk (2.0) vs vfs-1-trunk (1.x)? Is there any real difference between them? Ralph --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org