sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1610679 - in /sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge: HealthCheckTestsProvider.java JUnitTestBridge.java
Date Tue, 15 Jul 2014 13:03:40 GMT
Author: bdelacretaz
Date: Tue Jul 15 13:03:39 2014
New Revision: 1610679

URL: http://svn.apache.org/r1610679
Log:
tweaks

Modified:
    sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/HealthCheckTestsProvider.java
    sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/JUnitTestBridge.java

Modified: sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/HealthCheckTestsProvider.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/HealthCheckTestsProvider.java?rev=1610679&r1=1610678&r2=1610679&view=diff
==============================================================================
--- sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/HealthCheckTestsProvider.java
(original)
+++ sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/HealthCheckTestsProvider.java
Tue Jul 15 13:03:39 2014
@@ -69,7 +69,7 @@ public class HealthCheckTestsProvider im
     public Class<?> createTestClass(String testName) throws ClassNotFoundException
{
         // The test name is like "Health Checks(foo,bar)" and we need just 'foo,bar'
         final String tagString = testName.substring(0, testName.length() - TEST_NAME_SUFFIX.length()).substring(TEST_NAME_PREFIX.length());

-        JUnitTestBridge.setContext(new TestBridgeContext(bundleContext, splitTags(tagString)));
+        JUnitTestBridge.setThreadContext(new TestBridgeContext(bundleContext, splitTags(tagString)));
         return JUnitTestBridge.class;
     }
     

Modified: sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/JUnitTestBridge.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/JUnitTestBridge.java?rev=1610679&r1=1610678&r2=1610679&view=diff
==============================================================================
--- sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/JUnitTestBridge.java
(original)
+++ sling/whiteboard/bdelacretaz/junit-bridge/src/main/java/org/apache/sling/hc/junitbridge/JUnitTestBridge.java
Tue Jul 15 13:03:39 2014
@@ -28,7 +28,7 @@ import org.osgi.framework.ServiceReferen
 public class JUnitTestBridge {
     private static ThreadLocal<TestBridgeContext> testContext = new ThreadLocal<TestBridgeContext>();
     
-    static void setContext(TestBridgeContext c) {
+    static void setThreadContext(TestBridgeContext c) {
         testContext.set(c);
     }
     



Mime
View raw message