Skip navigation links
A B C E F G I J L M O R S V X 

A

afterAll(ExtensionContext) - Method in class org.xwiki.test.junit5.CaptureConsoleExtension
 
afterAll(ExtensionContext) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
afterEach(ExtensionContext) - Method in class org.xwiki.test.junit5.CaptureConsoleExtension
 
afterEach(ExtensionContext) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
AllLogRule - Class in org.xwiki.test
Allow capturing Logs output during the execution of the unit test.
AllLogRule() - Constructor for class org.xwiki.test.AllLogRule
Capture INFO log.
AllLogRule(LogLevel) - Constructor for class org.xwiki.test.AllLogRule
Caputure passed log level.
AllLogRule.LogStatement - Class in org.xwiki.test
The actual code that executes our capturing logic before the test runs and removes it after it has run.
apply(Statement, Description) - Method in class org.xwiki.test.AllLogRule
 
apply(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.jmock.JMockRule
Deprecated.
 
apply(Statement, Description) - Method in class org.xwiki.test.LogRule
Deprecated.
 

B

beforeAll(ExtensionContext) - Method in class org.xwiki.test.junit5.CaptureConsoleExtension
 
beforeAll(ExtensionContext) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
beforeEach(ExtensionContext) - Method in class org.xwiki.test.junit5.CaptureConsoleExtension
 
beforeEach(ExtensionContext) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 

C

CaptureConsoleExtension - Class in org.xwiki.test.junit5
Captures any content sent to stdout/stderr by JUnit5 unit tests and report a failure if the content is not empty.
CaptureConsoleExtension() - Constructor for class org.xwiki.test.junit5.CaptureConsoleExtension
 
contains(String) - Method in class org.xwiki.test.LogRule
Deprecated.
 
createTemporaryDirectory() - Static method in class org.xwiki.test.XWikiTempDirUtil
 

E

evaluate() - Method in class org.xwiki.test.AllLogRule.LogStatement
 
evaluate() - Method in class org.xwiki.test.LogRule.LogStatement
Deprecated.
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.xwiki.test.junit5.FailingTestDebuggingTestExecutionListener
 

F

FailingTestDebuggingTestExecutionListener - Class in org.xwiki.test.junit5
Provides environment information when a test fails to execute in XWiki's CI environment (i.e.
FailingTestDebuggingTestExecutionListener() - Constructor for class org.xwiki.test.junit5.FailingTestDebuggingTestExecutionListener
 

G

getLevel() - Method in enum org.xwiki.test.LogLevel
 
getLevel() - Method in enum org.xwiki.test.LogRule.LogLevel
Deprecated.
 
getLogEvent(int) - Method in class org.xwiki.test.AllLogRule
 
getLogEvent(int) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
getMarker(int) - Method in class org.xwiki.test.AllLogRule
 
getMarker(int) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
getMarker(int) - Method in class org.xwiki.test.LogRule
Deprecated.
 
getMessage(int) - Method in class org.xwiki.test.AllLogRule
 
getMessage(int) - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
getMessage(int) - Method in class org.xwiki.test.LogRule
Deprecated.
 

I

ignoreAllMessages() - Method in class org.xwiki.test.AllLogRule
Voluntarily ignore all messages to signify they should not need to be asserted.
ignoreAllMessages() - Method in class org.xwiki.test.junit5.LogCaptureExtension
Voluntarily ignore all messages to signify they should not need to be asserted.
ignoreMessage(int) - Method in class org.xwiki.test.AllLogRule
Voluntarily ignore a message to signify it should not need to be asserted.
ignoreMessage(int) - Method in class org.xwiki.test.junit5.LogCaptureExtension
Voluntarily ignore a message to signify it should not need to be asserted.
IsolatedClassPrefix - Annotation Type in org.xwiki.test.isolation
Define for a test class @RunWith(IsolatedTestRunner.class), the list of class prefix that will be isolated.
IsolatedTestRunner - Class in org.xwiki.test.isolation
Specialized JUnit4 runner to isolate some classes during the execution of a test class.
IsolatedTestRunner(Class<?>) - Constructor for class org.xwiki.test.isolation.IsolatedTestRunner
Creates a BlockJUnit4ClassRunner to run clazz.

J

JMockRule - Class in org.xwiki.test.jmock
Deprecated.
we're now standardizing on Mockito, use Mockito instead!
JMockRule() - Constructor for class org.xwiki.test.jmock.JMockRule
Deprecated.
 

L

LogCaptureExtension - Class in org.xwiki.test.junit5
Captures any logging done by code being tested in order for the logging to not leak in the console and to be able to assert the content of the logging statements.
LogCaptureExtension(LogLevel) - Constructor for class org.xwiki.test.junit5.LogCaptureExtension
 
LogCaptureExtension() - Constructor for class org.xwiki.test.junit5.LogCaptureExtension
Captures all logs from severity LogLevel.INFO and higher (WARN, ERROR, etc).
LogLevel - Enum in org.xwiki.test
Helper class to represent Logging levels to capture.
LogRule - Class in org.xwiki.test
Deprecated.
starting with 7.0M1 you should use AllLogRule instead since we want tests to not output anything to the console
LogRule() - Constructor for class org.xwiki.test.LogRule
Deprecated.
 
LogRule.LogLevel - Enum in org.xwiki.test
Deprecated.
Helper class to represent Logging levels to capture.
LogRule.LogStatement - Class in org.xwiki.test
Deprecated.
The actual code that executes our capturing logic before the test runs and removes it after it has run.
LogStatement(Statement) - Constructor for class org.xwiki.test.AllLogRule.LogStatement
 
LogStatement(Statement) - Constructor for class org.xwiki.test.LogRule.LogStatement
Deprecated.
 

M

matches(StringReader) - Method in class org.xwiki.test.mockito.StringReaderMatcher
 

O

org.xwiki.test - package org.xwiki.test
 
org.xwiki.test.isolation - package org.xwiki.test.isolation
 
org.xwiki.test.jmock - package org.xwiki.test.jmock
 
org.xwiki.test.junit5 - package org.xwiki.test.junit5
 
org.xwiki.test.mockito - package org.xwiki.test.mockito
 

R

record(LogRule.LogLevel) - Method in class org.xwiki.test.LogRule
Deprecated.
 
recordLoggingForType(Class<?>) - Method in class org.xwiki.test.LogRule
Deprecated.
 
run(String) - Static method in class org.xwiki.test.junit5.RuntimeUtils
 
RuntimeUtils - Class in org.xwiki.test.junit5
Utility methods to execute system commands for debugging reasons.

S

size() - Method in class org.xwiki.test.AllLogRule
 
size() - Method in class org.xwiki.test.junit5.LogCaptureExtension
 
size() - Method in class org.xwiki.test.LogRule
Deprecated.
 
StringReaderMatcher - Class in org.xwiki.test.mockito
Match a StringReader parameter with a String.
StringReaderMatcher(String) - Constructor for class org.xwiki.test.mockito.StringReaderMatcher
 

V

valueOf(String) - Static method in enum org.xwiki.test.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.xwiki.test.LogRule.LogLevel
Deprecated.
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xwiki.test.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.xwiki.test.LogRule.LogLevel
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.

X

XWikiTempDirUtil - Class in org.xwiki.test
Utility method to create a unique temporary directory located under Maven's target directory.
A B C E F G I J L M O R S V X 
Skip navigation links

Copyright © 2004–2021 XWiki. All rights reserved.