Repository: servicemix Updated Branches: refs/heads/servicemix-5.0.x 13d3bb297 -> 7b16c9f31
SM-2308: Add itest for camel-drools-blueprint example (Cherry picked from the commit 660b02bc9a7bc183d4d42b705e381204e90fcf24) Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/7b16c9f3 Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/7b16c9f3 Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/7b16c9f3 Branch: refs/heads/servicemix-5.0.x Commit: 7b16c9f31198bf4cafb9a3a8ea55389ff7b0266f Parents: 13d3bb2 Author: Krzysztof Sobkowiak <[email protected]> Authored: Sat May 24 18:18:09 2014 +0200 Committer: Krzysztof Sobkowiak <[email protected]> Committed: Sat May 24 19:44:40 2014 +0200 ---------------------------------------------------------------------- .../apache/servicemix/itests/ExamplesIntegrationTests.scala | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix/blob/7b16c9f3/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 852a483..a704718 100644 --- a/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala +++ b/itests/src/test/scala/org/apache/servicemix/itests/ExamplesIntegrationTests.scala @@ -91,6 +91,13 @@ class CamelExamplesTest extends ExamplesIntegrationTests { } @Test + def testCamelDroolsBlueprintExample = testWithFeature("examples-camel-drools-blueprint") { + expect { + logging.containsEvent( _.getLoggerName == "ServeDrink" ) + } + } + + @Test def testCamelOsgiExample : Unit = testWithFeature("examples-camel-osgi") { expect { logging.containsMessage(line => line.contains("JavaDSL set body"))
