@Service
public class SerializedRenderer
extends org.junit.runner.notification.RunListener
implements org.apache.sling.junit.Renderer, org.apache.sling.junit.RendererFactory
Constructor and Description |
---|
SerializedRenderer() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(org.apache.sling.junit.TestSelector s) |
void |
cleanup() |
org.apache.sling.junit.Renderer |
createRenderer() |
String |
getExtension() |
org.junit.runner.notification.RunListener |
getRunListener() |
void |
info(String role,
String info) |
void |
link(String info,
String url,
String method) |
void |
list(String role,
Collection<String> data) |
void |
setup(javax.servlet.http.HttpServletResponse response,
String pageTitle) |
void |
testRunFinished(org.junit.runner.Result result) |
void |
title(int level,
String title) |
public static final String EXTENSION
public org.apache.sling.junit.Renderer createRenderer()
createRenderer
in interface org.apache.sling.junit.RendererFactory
public boolean appliesTo(org.apache.sling.junit.TestSelector s)
appliesTo
in interface org.apache.sling.junit.Renderer
public String getExtension()
getExtension
in interface org.apache.sling.junit.Renderer
public void setup(javax.servlet.http.HttpServletResponse response, String pageTitle) throws IOException, UnsupportedEncodingException
setup
in interface org.apache.sling.junit.Renderer
IOException
UnsupportedEncodingException
public void cleanup()
cleanup
in interface org.apache.sling.junit.Renderer
public org.junit.runner.notification.RunListener getRunListener()
getRunListener
in interface org.apache.sling.junit.Renderer
public void info(String role, String info)
info
in interface org.apache.sling.junit.Renderer
public void link(String info, String url, String method)
link
in interface org.apache.sling.junit.Renderer
public void list(String role, Collection<String> data)
list
in interface org.apache.sling.junit.Renderer
public void title(int level, String title)
title
in interface org.apache.sling.junit.Renderer
public void testRunFinished(org.junit.runner.Result result) throws IOException
testRunFinished
in class org.junit.runner.notification.RunListener
IOException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.