Repository: servicemix Updated Branches: refs/heads/servicemix-5.1.x 90aae9c6e -> ad713d115
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! Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/ad713d11 Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/ad713d11 Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/ad713d11 Branch: refs/heads/servicemix-5.1.x Commit: ad713d115c4a26523ce04be904f1379e68b21cf6 Parents: 90aae9c Author: Wim Verreydt <[email protected]> Authored: Wed May 28 10:34:46 2014 +0200 Committer: Krzysztof Sobkowiak <[email protected]> Committed: Wed May 28 10:43:53 2014 +0200 ---------------------------------------------------------------------- .../servicemix/itests/ExamplesIntegrationTests.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix/blob/ad713d11/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")) + } + } } /**
