public interface Renderer
RendererFactory
as RendererSelectorImpl
doesModifier and Type | Method and Description |
---|---|
boolean |
appliesTo(TestSelector selector)
True if this renderer applies to supplied request
|
void |
cleanup()
Called once rendering is done
|
String |
getExtension()
Return the extension that triggers this renderer
|
org.junit.runner.notification.RunListener |
getRunListener()
Provide a RunListener for JUnit tests
|
void |
info(String role,
String info)
Render general information
|
void |
link(String info,
String url,
String method)
Render a link to specified URL using specified HTTP method
|
void |
list(String role,
Collection<String> data)
Render a list of things
|
void |
setup(javax.servlet.http.HttpServletResponse response,
String pageTitle)
Called first to setup rendering
|
void |
title(int level,
String title)
Render a title of a specified hierarchical level
|
boolean appliesTo(TestSelector selector)
void setup(javax.servlet.http.HttpServletResponse response, String pageTitle) throws IOException, UnsupportedEncodingException
void cleanup()
void list(String role, Collection<String> data)
role
- describes the role of the list, must be a valid CSS class valuevoid info(String role, String info)
role
- describes the role of the list, must be a valid CSS class valuevoid title(int level, String title)
void link(String info, String url, String method)
org.junit.runner.notification.RunListener getRunListener()
String getExtension()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.