Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 80151 invoked from network); 16 Apr 2007 07:12:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 07:12:02 -0000 Received: (qmail 95968 invoked by uid 500); 16 Apr 2007 07:12:05 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 95892 invoked by uid 500); 16 Apr 2007 07:12:05 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 95881 invoked by uid 99); 16 Apr 2007 07:12:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 00:12:05 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 00:11:58 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HdLMx-00080e-T0 for dev@cocoon.apache.org; Mon, 16 Apr 2007 09:11:24 +0200 Received: from 217.244.9.5 ([217.244.9.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Apr 2007 09:11:23 +0200 Received: from alexander.klimetschek by 217.244.9.5 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Apr 2007 09:11:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Alexander Klimetschek Subject: Re: CachingSourceTestCase in cocoon-core trunk fails Date: Mon, 16 Apr 2007 09:11:10 +0200 Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 217.244.9.5 User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Ok, I see there are even more tests that fail. Looks like most of them are missing components that are defined as Spring beans nowadays but cannot be looked up via the avalon service manager: testHeaderMatch(org.apache.cocoon.matching.HeaderMatcherTestCase) Time elapsed: 0.102 sec <<< FAILURE! junit.framework.AssertionFailedError: Could not retrieve matcher: org.apache.avalon.framework.service.ServiceException: Component with 'org.apache.cocoon.matching.MatcherSelector' is not defined in this service manager. (Key='AvalonServiceManager') at junit.framework.Assert.fail(Assert.java:47) at org.apache.cocoon.SitemapComponentTestCase.match(SitemapComponentTestCase.java:161) at org.apache.cocoon.matching.HeaderMatcherTestCase.testHeaderMatch(HeaderMatcherTestCase.java:58) The failing tests are: org.apache.cocoon.acting.LocaleActionTestCase org.apache.cocoon.matching.HeaderMatcherTestCase org.apache.cocoon.selection.RegexpRequestParameterSelectorTestCase org.apache.cocoon.selection.ResourceExistsSelectorTestCase org.apache.cocoon.components.source.impl.CachingSourceTestCase The ContainerTestCase once had a addSettings(BeanDefinitionRegistry) method to pass own spring configurations. How do you do this now? (addSettings() has no more parameters...) Are the spring bean xml files for testing read automatically from some location? Alex -- Alexander Klimetschek http://www.mindquarry.com