Skip navigation links
C G H L O P R S U X 

C

componentManager - Variable in class org.xwiki.test.page.PageTest
The Component Manager to use for getting Component instances or registering Mock Components in the test, provided for ease of use (can also be retrieved through PageTest.oldcore).
configureComponentsBeforeOldcoreRuleForPageTest(MockitoComponentManager) - Method in class org.xwiki.test.page.PageTest
Set up of Components after the Components declared in ComponentList have been handled but before MockitoOldcore.before(Class) has been called (i.e.
context - Variable in class org.xwiki.test.page.PageTest
The configured XWiki Context, provided for ease of use (can also be retrieved through PageTest.oldcore).

G

getPermanentDirectory() - Method in class org.xwiki.test.page.PageTestEnvironment
 
getResource(String) - Method in class org.xwiki.test.page.PageTestEnvironment
 
getResourceAsStream(String) - Method in class org.xwiki.test.page.PageTestEnvironment
 
getTemporaryDirectory() - Method in class org.xwiki.test.page.PageTestEnvironment
 
getTransformationNames() - Method in class org.xwiki.test.page.StubRenderingConfiguration
 

H

HTML50ComponentList - Annotation Type in org.xwiki.test.page
Pack of default Component implementations that are needed for Parsing and Rendering in HTML 5.0.

L

loadPage(DocumentReference) - Method in class org.xwiki.test.page.PageTest
 
LocalizationSetup - Class in org.xwiki.test.page
Set up Localization Services for Page Tests.

O

oldcore - Variable in class org.xwiki.test.page.PageTest
 
org.xwiki.test.page - package org.xwiki.test.page
 

P

PageComponentList - Annotation Type in org.xwiki.test.page
Pack of default Component implementations that are needed for rendering wiki pages.
PageTest - Class in org.xwiki.test.page
A testing framework to write integration tests for wiki pages.
PageTest() - Constructor for class org.xwiki.test.page.PageTest
 
PageTestEnvironment - Class in org.xwiki.test.page
Environment implement that look for resources in the target/classes directory.
PageTestEnvironment() - Constructor for class org.xwiki.test.page.PageTestEnvironment
 

R

registerVelocityTool(String, Object) - Method in class org.xwiki.test.page.PageTest
Adds a tool to the Velocity context.
renderHTMLPage(DocumentReference) - Method in class org.xwiki.test.page.PageTest
Load the provided document reference, render the loaded document and parse the result using Jsoup.
renderHTMLPage(XWikiDocument) - Method in class org.xwiki.test.page.PageTest
Render the provided document and parse the result using Jsoup.
renderPage(DocumentReference) - Method in class org.xwiki.test.page.PageTest
 
request - Variable in class org.xwiki.test.page.PageTest
The stubbed request used to simulate a real Servlet Request.
response - Variable in class org.xwiki.test.page.PageTest
The stubbed response used to simulate a real Servlet Response.

S

setOutputSyntax(Syntax) - Method in class org.xwiki.test.page.PageTest
Sets the Syntax with which the Document to test will be rendered into.
setUp(TestComponentManager) - Static method in class org.xwiki.test.page.LocalizationSetup
Sets up localization so that all translation return their key as translation values.
setUp(XWiki, XWikiContext) - Static method in class org.xwiki.test.page.SkinExtensionSetup
Sets up the SSX/JSX plugins to provide a noop implementation (i.e.
setUp(XWikiContext) - Static method in class org.xwiki.test.page.URLFactorySetup
Sets up a fake base URL and a fake Servlet URL Factory.
setUpComponentsForPageTest(MockitoComponentManager) - Method in class org.xwiki.test.page.PageTest
Set up components before Components declared in ComponentList are handled.
SkinExtensionSetup - Class in org.xwiki.test.page
Set up Skin Extension plugins for Page Tests.
StubRenderingConfiguration - Class in org.xwiki.test.page
Stubbed RenderingConfiguration to control the list of Transformations to execute in Page tests (specifically to not execute the Icon transformation, for performance optimizations).
StubRenderingConfiguration() - Constructor for class org.xwiki.test.page.StubRenderingConfiguration
 

U

URLFactorySetup - Class in org.xwiki.test.page
Set up URL Factory for Page Tests.

X

XHTML10ComponentList - Annotation Type in org.xwiki.test.page
Pack of default Component implementations that are needed for Parsing and Rendering in XHTML 1.0.
xwiki - Variable in class org.xwiki.test.page.PageTest
The mocked XWiki instance, provided for ease of use (can also be retrieved through PageTest.oldcore).
XWikiSyntax20ComponentList - Annotation Type in org.xwiki.test.page
Pack of default Component implementations that are needed for Parsing and Rendering in XWiki Syntax 2.0.
XWikiSyntax21ComponentList - Annotation Type in org.xwiki.test.page
Pack of default Component implementations that are needed for Parsing and Rendering in XWiki Syntax 2.1.
C G H L O P R S U X 
Skip navigation links

Copyright © 2004–2021 XWiki. All rights reserved.