sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1642314 - in /sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide: SerializedRenderer.java package-info.java
Date Fri, 28 Nov 2014 15:47:18 GMT
Author: bdelacretaz
Date: Fri Nov 28 15:47:17 2014
New Revision: 1642314

URL: http://svn.apache.org/r1642314
Log:
SLING-4210 - SerializedRenderer implements RendererFactory

Modified:
    sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/SerializedRenderer.java
    sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/package-info.java

Modified: sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/SerializedRenderer.java
URL: http://svn.apache.org/viewvc/sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/SerializedRenderer.java?rev=1642314&r1=1642313&r2=1642314&view=diff
==============================================================================
--- sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/SerializedRenderer.java
(original)
+++ sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/SerializedRenderer.java
Fri Nov 28 15:47:17 2014
@@ -26,6 +26,7 @@ import javax.servlet.http.HttpServletRes
 import org.apache.felix.scr.annotations.Component;
 import org.apache.felix.scr.annotations.Service;
 import org.apache.sling.junit.Renderer;
+import org.apache.sling.junit.RendererFactory;
 import org.apache.sling.junit.TestSelector;
 import org.junit.runner.Result;
 import org.junit.runner.notification.RunListener;
@@ -39,13 +40,18 @@ import org.slf4j.LoggerFactory;
  */
 @Component(immediate=false)
 @Service
-public class SerializedRenderer extends RunListener implements Renderer {
+public class SerializedRenderer extends RunListener implements Renderer,RendererFactory {
 
     public static final String EXTENSION = "serialized";
     private ObjectOutputStream outputStream;
     private final Logger log = LoggerFactory.getLogger(getClass());
 
     /** @inheritDoc */
+    public Renderer createRenderer() { 
+        return new SerializedRenderer();
+    }
+    
+    /** @inheritDoc */
     public boolean appliesTo(TestSelector s) {
         return EXTENSION.equals(s.getExtension());
     }

Modified: sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/package-info.java
URL: http://svn.apache.org/viewvc/sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/package-info.java?rev=1642314&r1=1642313&r2=1642314&view=diff
==============================================================================
--- sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/package-info.java
(original)
+++ sling/trunk/testing/junit/remote/src/main/java/org/apache/sling/junit/remote/ide/package-info.java
Fri Nov 28 15:47:17 2014
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-@Version("1.0.8")
+@Version("1.1.0")
 package org.apache.sling.junit.remote.ide;
 
 import aQute.bnd.annotation.Version;



Mime
View raw message