Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F827D2AA for ; Fri, 7 Sep 2012 14:26:08 +0000 (UTC) Received: (qmail 88452 invoked by uid 500); 7 Sep 2012 14:26:07 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 88419 invoked by uid 500); 7 Sep 2012 14:26:07 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 88410 invoked by uid 99); 7 Sep 2012 14:26:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 14:26:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 14:26:03 +0000 Received: by lbbgm13 with SMTP id gm13so2326281lbb.32 for ; Fri, 07 Sep 2012 07:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=uFmdV8H8mt/WbyykocvvSZHs1ootxQnbhbDf8et/pVc=; b=QJQQT1cDTO/IxeLJtDtLpGw12dgVNfp8LjyqtUy7AFBLIEFcpJZrtlPaxHEuH4lMvy dojkXvgI9B5hB5ArfQFJznKys8psugcrSl/qTzHCSSlOl+UoHn/NgdJUq/bQZQURm/8U HtifSwXt0QLnm1Z9eboElTq0wIQfQNg7os5ckrY02Gn17ZbeHNWZ5coe59qztwivpSLs sHX/UFAORSXxf7f1NrU3aKggRVYe6hdo98FC9dUTHt5j6EfjFg3eEweWbGFQcaDK0Kf0 O8T0pZngK61AYiP0wTyX0usgouo0Xvs7NLMbRSP4rt1QqXchhWC2735ddUJWdkAuuV+h Yqbg== Received: by 10.152.103.146 with SMTP id fw18mr5522899lab.30.1347027941754; Fri, 07 Sep 2012 07:25:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.7.230 with HTTP; Fri, 7 Sep 2012 07:25:21 -0700 (PDT) In-Reply-To: <1347027432.2777.73.camel@ralf-ubuntu> References: <1347027432.2777.73.camel@ralf-ubuntu> From: Claus Ibsen Date: Fri, 7 Sep 2012 16:25:21 +0200 Message-ID: Subject: Re: Annotation @MockEndpointsAndSkip not working in Camel 2.10.0 To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi I think its fixed on trunk and 2.10 branch. Do you mind checking that? http://camel.apache.org/source.html On Fri, Sep 7, 2012 at 4:17 PM, Ralf Steppacher wrote: > Hi, > > there appears to be a bug in > CamelSpringTestContextLoader::handleMockEndpointsAndSkip(..). It tests > for MockEndpoints.class instead of MockEndpointsAndSkip.class. Line 433: > > if (testClass.isAnnotationPresent(MockEndpoints.class)) { > > should be > > if (testClass.isAnnotationPresent(MockEndpointsAndSkip.class)) { > > > Ralf -- Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen