camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Annotation @MockEndpointsAndSkip not working in Camel 2.10.0
Date Fri, 07 Sep 2012 14:25:21 GMT
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
<ralf.steppacher@derivativepartners.com> 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

Mime
View raw message