Repository: servicemix Updated Branches: refs/heads/master 2ab8478ed -> 0e01564d1
SM-2307 SM-2309: Add itests for camel-cxf-soap example and camel-cxf-rest example (closes #12) Thanks to Wim Verreydt for the pull request! (Cherry picked from the commit ad713d115c4a26523ce04be904f1379e68b21cf6) Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/0e01564d Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/0e01564d Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/0e01564d Branch: refs/heads/master Commit: 0e01564d13570974219d58d284e48079130e1c89 Parents: 2ab8478 Author: Wim Verreydt <[email protected]> Authored: Wed May 28 10:34:46 2014 +0200 Committer: Krzysztof Sobkowiak <[email protected]> Committed: Wed May 28 10:49:00 2014 +0200 ---------------------------------------------------------------------- .../servicemix/itests/ExamplesIntegrationTests.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix/blob/0e01564d/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala ---------------------------------------------------------------------- diff --git a/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala b/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala index 9d81bc5..0edd9fc 100644 --- a/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala +++ b/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala @@ -113,6 +113,20 @@ class CamelExamplesTest extends ExamplesIntegrationTests { logging.containsMessage(line => line.contains("Blueprint-Example set body")) } } + + @Test + def testCamelCxfSoap : Unit = testWithFeature("examples-camel-cxf-soap") { + expect { + logging.containsMessage(line => line.contains("Setting the server's publish address to be http://localhost:8989/soap")) + } + } + + @Test + def testCamelCxfRest : Unit = testWithFeature("examples-camel-cxf-rest") { + expect { + logging.containsMessage(line => line.contains("Setting the server's publish address to be http://localhost:8989/rest")) + } + } } /**
