camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject camel git commit: Polish a bit further
Date Mon, 08 Dec 2014 00:25:08 GMT
Repository: camel
Updated Branches:
  refs/heads/master 674758f51 -> f1785aebc


Polish a bit further

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

Branch: refs/heads/master
Commit: f1785aebcddac2a581dd832faf7c97ac307a3300
Parents: 674758f
Author: Babak Vahdat <bvahdat@apache.org>
Authored: Mon Dec 8 01:24:54 2014 +0100
Committer: Babak Vahdat <bvahdat@apache.org>
Committed: Mon Dec 8 01:24:54 2014 +0100

----------------------------------------------------------------------
 .../camel/itest/osgi/blueprint/BlueprintTracerRefTest.java   | 8 +-------
 .../camel/itest/osgi/blueprint/BlueprintTracerTest.java      | 4 ++--
 2 files changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f1785aeb/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerRefTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerRefTest.java
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerRefTest.java
index 0bae134..89049bb 100644
--- a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerRefTest.java
+++ b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerRefTest.java
@@ -33,13 +33,7 @@ import static org.ops4j.pax.exam.OptionUtils.combine;
 @RunWith(PaxExam.class)
 public class BlueprintTracerRefTest extends BlueprintTracerTest {
 
-    @Test
-    @Override
-    public void testTracer() throws Exception {
-        name = getClass().getName();
-
-        super.testTracer();
-    }
+    // implicitly inherit the test method from super
 
     @Configuration
     public static Option[] configure() throws Exception {

http://git-wip-us.apache.org/repos/asf/camel/blob/f1785aeb/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerTest.java
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerTest.java
index 17f3146..4794299 100644
--- a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerTest.java
+++ b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/BlueprintTracerTest.java
@@ -33,10 +33,10 @@ import static org.ops4j.pax.exam.OptionUtils.combine;
 @RunWith(PaxExam.class)
 public class BlueprintTracerTest extends OSGiBlueprintTestSupport {
 
-    protected String name = getClass().getName();
-
     @Test
     public void testTracer() throws Exception {
+        final String name = getClass().getName();
+
         // start bundle
         getInstalledBundle(name).start();
 


Mime
View raw message