camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Svab (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5424) @MockEndpointsAndSkip does not work
Date Thu, 05 Jul 2012 22:27:33 GMT
Michal Svab created CAMEL-5424:
----------------------------------

             Summary: @MockEndpointsAndSkip does not work
                 Key: CAMEL-5424
                 URL: https://issues.apache.org/jira/browse/CAMEL-5424
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.10.0
            Reporter: Michal Svab
         Attachments: MockEndpointsAndSkip-did-not-work.patch

Due to copy & paste error in CamelSpringTestContextLoader.handleMockEndpointsAndSkip @MockEndpointsAndSkip
annotation is ignored and it looks for @MockEndpoints annotation. Test for this annotation
is wrong as well, as it tries to mock {{mock:*}} endpoint that cannot be mocked again.

I've attached a patch that fixes both CamelSpringTestContextLoader and the test. In case I
missed anything, I'm happy to improve the patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message