A B C D E F G I J L M O R S T V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
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, Description) - Method in class org.xwiki.test.LogRule
-
Deprecated.
- apply(Statement, FrameworkMethod, Object) - Method in class org.xwiki.test.jmock.JMockRule
-
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
D
- DEBUG - org.xwiki.test.LogLevel
-
Debug level.
- DEBUG - org.xwiki.test.LogRule.LogLevel
-
Deprecated.Debug level.
E
- ERROR - org.xwiki.test.LogLevel
-
Error level.
- ERROR - org.xwiki.test.LogRule.LogLevel
-
Deprecated.Error level.
- 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.
- ignoreAllMessages(List<Predicate<ILoggingEvent>>) - Method in class org.xwiki.test.junit5.LogCaptureExtension
-
Voluntarily ignore all messages matching passed predicates 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.
- INFO - org.xwiki.test.LogLevel
-
Info level.
- INFO - org.xwiki.test.LogRule.LogLevel
-
Deprecated.Info level.
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() - Constructor for class org.xwiki.test.junit5.LogCaptureExtension
-
Captures all logs from severity
LogLevel.INFO
and higher (WARN, ERROR, etc). - LogCaptureExtension(LogLevel) - Constructor for class org.xwiki.test.junit5.LogCaptureExtension
- 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.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
T
- TRACE - org.xwiki.test.LogLevel
-
Trace level.
- TRACE - org.xwiki.test.LogRule.LogLevel
-
Deprecated.Trace level.
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.
W
- WARN - org.xwiki.test.LogLevel
-
Warn level.
- WARN - org.xwiki.test.LogRule.LogLevel
-
Deprecated.Warn level.
X
- XWikiTempDirUtil - Class in org.xwiki.test
-
Utility method to create a unique temporary directory located under Maven's
target
directory.
All Classes All Packages