@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.RendererFactorypublic boolean appliesTo(org.apache.sling.junit.TestSelector s)
appliesTo in interface org.apache.sling.junit.Rendererpublic String getExtension()
getExtension in interface org.apache.sling.junit.Rendererpublic void setup(javax.servlet.http.HttpServletResponse response,
String pageTitle)
throws IOException,
UnsupportedEncodingException
setup in interface org.apache.sling.junit.RendererIOExceptionUnsupportedEncodingExceptionpublic void cleanup()
cleanup in interface org.apache.sling.junit.Rendererpublic org.junit.runner.notification.RunListener getRunListener()
getRunListener in interface org.apache.sling.junit.Rendererpublic void info(String role, String info)
info in interface org.apache.sling.junit.Rendererpublic void link(String info, String url, String method)
link in interface org.apache.sling.junit.Rendererpublic void list(String role, Collection<String> data)
list in interface org.apache.sling.junit.Rendererpublic void title(int level,
String title)
title in interface org.apache.sling.junit.Rendererpublic void testRunFinished(org.junit.runner.Result result)
throws IOException
testRunFinished in class org.junit.runner.notification.RunListenerIOExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.