@Service public class SerializedRenderer extends org.junit.runner.notification.RunListener implements Renderer, RendererFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTENSION |
Constructor and Description |
---|
SerializedRenderer() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(TestSelector s)
True if this renderer applies to supplied request
|
void |
cleanup()
Called once rendering is done
|
Renderer |
createRenderer() |
java.lang.String |
getExtension()
Return the extension that triggers this renderer
|
org.junit.runner.notification.RunListener |
getRunListener()
Provide a RunListener for JUnit tests
|
void |
info(java.lang.String role,
java.lang.String info)
Render general information
|
void |
link(java.lang.String info,
java.lang.String url,
java.lang.String method)
Render a link to specified URL using specified HTTP method
|
void |
list(java.lang.String role,
java.util.Collection<java.lang.String> data)
Render a list of things
|
void |
setup(HttpServletResponse response,
java.lang.String pageTitle)
Called first to setup rendering
|
void |
testRunFinished(org.junit.runner.Result result) |
void |
title(int level,
java.lang.String title)
Render a title of a specified hierarchical level
|
public static final java.lang.String EXTENSION
public Renderer createRenderer()
createRenderer
in interface RendererFactory
public boolean appliesTo(TestSelector s)
Renderer
public java.lang.String getExtension()
Renderer
getExtension
in interface Renderer
public void setup(HttpServletResponse response, java.lang.String pageTitle) throws java.io.IOException, java.io.UnsupportedEncodingException
Renderer
public void cleanup()
Renderer
public org.junit.runner.notification.RunListener getRunListener()
Renderer
getRunListener
in interface Renderer
public void info(java.lang.String role, java.lang.String info)
Renderer
public void link(java.lang.String info, java.lang.String url, java.lang.String method)
Renderer
public void list(java.lang.String role, java.util.Collection<java.lang.String> data)
Renderer
public void title(int level, java.lang.String title)
Renderer
public void testRunFinished(org.junit.runner.Result result) throws java.io.IOException
testRunFinished
in class org.junit.runner.notification.RunListener
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved