You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by he...@apache.org on 2014/04/16 16:43:42 UTC

git commit: Simplified Karaf Ahc test.

Repository: camel
Updated Branches:
  refs/heads/master 5c25b1924 -> 5a7e2d7e8


Simplified Karaf Ahc test.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5a7e2d7e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5a7e2d7e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5a7e2d7e

Branch: refs/heads/master
Commit: 5a7e2d7e83f13d5884e734e7e88c6515db2a7cee
Parents: 5c25b19
Author: Henryk Konsek <he...@gmail.com>
Authored: Wed Apr 16 16:41:21 2014 +0200
Committer: Henryk Konsek <he...@gmail.com>
Committed: Wed Apr 16 16:43:24 2014 +0200

----------------------------------------------------------------------
 .../test/java/org/apache/camel/itest/karaf/CamelAhcTest.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5a7e2d7e/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAhcTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAhcTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAhcTest.java
index 1abcc35..0ec1270 100644
--- a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAhcTest.java
+++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelAhcTest.java
@@ -25,16 +25,14 @@ import org.ops4j.pax.exam.junit.JUnit4TestRunner;
 @RunWith(JUnit4TestRunner.class)
 public class CamelAhcTest extends AbstractFeatureTest {
 
-    public static final String COMPONENT = extractName(CamelAhcTest.class);
-
     @Test
     public void test() throws Exception {
-        testComponent(COMPONENT);
+        testComponent();
     }
 
     @Configuration
-    public static Option[] configure() {
-        return configure(COMPONENT);
+    public Option[] configure() {
+        return configureComponent();
     }
 
 }