You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2013/10/08 09:10:10 UTC
[4/7] git commit: CAMEL-6835 Polish the javadoc of
CamelBlueprintTestSupport as Claus suggested
CAMEL-6835 Polish the javadoc of CamelBlueprintTestSupport as Claus suggested
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b5a166f9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b5a166f9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b5a166f9
Branch: refs/heads/camel-2.12.x
Commit: b5a166f9ea2a8a24f3997b15bc44b004f265b8b4
Parents: b9d5b89
Author: Willem Jiang <ni...@apache.org>
Authored: Tue Oct 8 14:54:21 2013 +0800
Committer: Willem Jiang <ni...@apache.org>
Committed: Tue Oct 8 15:00:15 2013 +0800
----------------------------------------------------------------------
.../camel/test/blueprint/CamelBlueprintTestSupport.java | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/b5a166f9/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
index 8c5bd00..315ffa9 100644
--- a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
+++ b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
@@ -48,8 +48,13 @@ public abstract class CamelBlueprintTestSupport extends CamelTestSupport {
private volatile BundleContext bundleContext;
private final Set<ServiceRegistration<?>> services = new LinkedHashSet<ServiceRegistration<?>>();
- // CamelBlueprintTestSupport creates the test bundle which includes blueprint configuration files if the value is true
- // You can override the return value to false if you already has the test bundle in your class path
+ /**
+ * Override this method if you don't want CamelBlueprintTestSupport create the test bundle
+ * @return includeTestBundle
+ * If the return value is true CamelBlueprintTestSupport creates the test bundle which includes blueprint configuration files
+ * If the return value is false CamelBlueprintTestSupport won't create the test bundle
+ *
+ */
protected boolean includeTestBundle() {
return true;
}