A B C E G I M O P R S T

A

assertBlocks(String, List<Block>, PrintRendererFactory) - Static method in class org.xwiki.rendering.test.BlockAssert
 

B

beginDocument(MetaData) - Method in class org.xwiki.rendering.test.integration.SyntaxWrappingListener
BlockAssert - Class in org.xwiki.rendering.test
Class to be imported in unit tests as a static import and which contains helper methods to assert Rendering Blocks.
BlockAssert() - Constructor for class org.xwiki.rendering.test.BlockAssert
Protect constructor since it is a static only class.

C

configuration - Variable in class org.xwiki.rendering.test.integration.TestData
 

E

endDocument(MetaData) - Method in class org.xwiki.rendering.test.integration.SyntaxWrappingListener
execute() - Method in class org.xwiki.rendering.test.integration.RenderingTest
 
expectations - Variable in class org.xwiki.rendering.test.integration.TestData
 

G

generateData(String, String) - Method in class org.xwiki.rendering.test.integration.TestDataGenerator
 
getChildren() - Method in class org.xwiki.rendering.test.integration.RenderingTestSuite
getComponentDescriptor() - Static method in class org.xwiki.rendering.test.MockWikiModel
Create and return a descriptor for this component.
getComponentManager() - Method in class org.xwiki.rendering.test.integration.RenderingTest
 
getDescription() - Method in class org.xwiki.rendering.test.integration.RenderingTestSuite
We override this method so that the JUnit results are not displayed in a test hierarchy with a single test result for each node (as it would be otherwise since RenderingTest has a single test method).
getDocumentEditURL(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel
getDocumentViewURL(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel
getImageURL(ResourceReference, Map<String, String>) - Method in class org.xwiki.rendering.test.MockWikiModel
getLinkURL(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel

I

inputs - Variable in class org.xwiki.rendering.test.integration.TestData
 
isDocumentAvailable(ResourceReference) - Method in class org.xwiki.rendering.test.MockWikiModel

M

MockWikiModel - Class in org.xwiki.rendering.test
Mock WikiModel implementation for integration tests.
MockWikiModel() - Constructor for class org.xwiki.rendering.test.MockWikiModel
 

O

org.xwiki.rendering.test - package org.xwiki.rendering.test
 
org.xwiki.rendering.test.integration - package org.xwiki.rendering.test.integration
 

P

parse(InputStream, String) - Method in class org.xwiki.rendering.test.integration.TestDataParser
 

R

RenderingTest - Class in org.xwiki.rendering.test.integration
A generic JUnit Test used by RenderingTestSuite to parse some passed content and verify it matches some passed expectation.
RenderingTest(String, String, String, String, boolean, boolean, Map<String, ?>, ComponentManager) - Constructor for class org.xwiki.rendering.test.integration.RenderingTest
 
RenderingTestSuite - Class in org.xwiki.rendering.test.integration
Run all tests found in *.test files located in the classpath.
RenderingTestSuite(Class<?>) - Constructor for class org.xwiki.rendering.test.integration.RenderingTestSuite
Only called reflectively.
RenderingTestSuite.Initialized - Annotation Type in org.xwiki.rendering.test.integration
 
RenderingTestSuite.Scope - Annotation Type in org.xwiki.rendering.test.integration
 
runTransformations - Variable in class org.xwiki.rendering.test.integration.TestData
 

S

streaming - Variable in class org.xwiki.rendering.test.integration.TestData
 
SyntaxWrappingListener - Class in org.xwiki.rendering.test.integration
Filter MetaData source element from begin/endDocument events.
SyntaxWrappingListener() - Constructor for class org.xwiki.rendering.test.integration.SyntaxWrappingListener
 

T

TestData - Class in org.xwiki.rendering.test.integration
 
TestData() - Constructor for class org.xwiki.rendering.test.integration.TestData
 
TestDataGenerator - Class in org.xwiki.rendering.test.integration
Finds all test files in the current classloader, read them and return test data to represent them.
TestDataGenerator() - Constructor for class org.xwiki.rendering.test.integration.TestDataGenerator
 
TestDataParser - Class in org.xwiki.rendering.test.integration
Parses test data defined using the following syntax, shown with this example: .streaming .runTransformations .configuration <key=value> .input|<syntax parser id> <input content here> .expect|<renderer id> <expected content here>
TestDataParser() - Constructor for class org.xwiki.rendering.test.integration.TestDataParser
 

A B C E G I M O P R S T

Copyright © 2004-2011 XWiki. All Rights Reserved.