You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michal Svab (JIRA)" <ji...@apache.org> on 2012/07/06 00:27:33 UTC
[jira] [Created] (CAMEL-5424) @MockEndpointsAndSkip does not work
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
[jira] [Commented] (CAMEL-5424) @MockEndpointsAndSkip does not work
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407760#comment-13407760 ]
Claus Ibsen commented on CAMEL-5424:
------------------------------------
Michal, can you re-attach your patch and mark [x] in grant license to Apache. Otherwise we cannot accept your patch.
> @MockEndpointsAndSkip does not work
> -----------------------------------
>
> Key: CAMEL-5424
> URL: https://issues.apache.org/jira/browse/CAMEL-5424
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.10.0
> Reporter: Michal Svab
> Fix For: 2.10.1
>
> 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
[jira] [Resolved] (CAMEL-5424) @MockEndpointsAndSkip does not work
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5424.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Thanks for the patch.
> @MockEndpointsAndSkip does not work
> -----------------------------------
>
> Key: CAMEL-5424
> URL: https://issues.apache.org/jira/browse/CAMEL-5424
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.10.0
> Reporter: Michal Svab
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.10.1
>
> 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
[jira] [Updated] (CAMEL-5424) @MockEndpointsAndSkip does not work
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5424:
-------------------------------
Component/s: camel-test
Priority: Minor (was: Major)
Fix Version/s: 2.10.1
> @MockEndpointsAndSkip does not work
> -----------------------------------
>
> Key: CAMEL-5424
> URL: https://issues.apache.org/jira/browse/CAMEL-5424
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.10.0
> Reporter: Michal Svab
> Priority: Minor
> Fix For: 2.10.1
>
> 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
[jira] [Updated] (CAMEL-5424) @MockEndpointsAndSkip does not work
Posted by "Michal Svab (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Svab updated CAMEL-5424:
-------------------------------
Attachment: (was: MockEndpointsAndSkip-did-not-work.patch)
> @MockEndpointsAndSkip does not work
> -----------------------------------
>
> Key: CAMEL-5424
> URL: https://issues.apache.org/jira/browse/CAMEL-5424
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.10.0
> Reporter: Michal Svab
> Priority: Minor
> Fix For: 2.10.1
>
> 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
[jira] [Updated] (CAMEL-5424) @MockEndpointsAndSkip does not work
Posted by "Michal Svab (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Svab updated CAMEL-5424:
-------------------------------
Attachment: MockEndpointsAndSkip-did-not-work.patch
Doh, missed that one.
> @MockEndpointsAndSkip does not work
> -----------------------------------
>
> Key: CAMEL-5424
> URL: https://issues.apache.org/jira/browse/CAMEL-5424
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.10.0
> Reporter: Michal Svab
> Priority: Minor
> Fix For: 2.10.1
>
> 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
[jira] [Updated] (CAMEL-5424) @MockEndpointsAndSkip does not work
Posted by "Michal Svab (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Svab updated CAMEL-5424:
-------------------------------
Attachment: MockEndpointsAndSkip-did-not-work.patch
> @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