public interface Renderer
RendererFactory
as org.apache.sling.junit.impl.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
|
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 |
title(int level,
java.lang.String title)
Render a title of a specified hierarchical level
|
boolean appliesTo(TestSelector selector)
void setup(HttpServletResponse response, java.lang.String pageTitle) throws java.io.IOException, java.io.UnsupportedEncodingException
java.io.IOException
java.io.UnsupportedEncodingException
void cleanup()
void list(java.lang.String role, java.util.Collection<java.lang.String> data)
role
- describes the role of the list, must be a valid CSS class valuevoid info(java.lang.String role, java.lang.String info)
role
- describes the role of the list, must be a valid CSS class valuevoid title(int level, java.lang.String title)
void link(java.lang.String info, java.lang.String url, java.lang.String method)
org.junit.runner.notification.RunListener getRunListener()
java.lang.String getExtension()
Copyright © 2010 - 2020 Adobe. All Rights Reserved