Repository: servicemix Updated Branches: refs/heads/servicemix-5.0.x 838a9596b -> 4c4fdbc68
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/4c4fdbc6 Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/4c4fdbc6 Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/4c4fdbc6 Branch: refs/heads/servicemix-5.0.x Commit: 4c4fdbc68ff4dec5bcd25aff46aaadeb8fd0e41a Parents: 838a959 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:38 2014 +0200 ---------------------------------------------------------------------- .../servicemix/itests/ExamplesIntegrationTests.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix/blob/4c4fdbc6/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 a704718..2948821 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")) + } + } } /**
