Skip navigation links
A B C D E G H I L M O P R S T U V W X 

A

addCloverJAR(List<Artifact>) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
addEnvironmentVariable(String, String) - Method in class org.xwiki.test.integration.XWikiExecutor
 
afterAll(ExtensionContext) - Method in class org.xwiki.test.integration.junit5.ValidateConsoleExtension
 
afterTests() - Method in class org.xwiki.test.integration.XWikiExecutorSuite
Called after test execution.
apply(Statement, Description) - Method in class org.xwiki.test.integration.junit4.ValidateConsoleRule
 
ArtifactCoordinate - Class in org.xwiki.test.integration.maven
Represents an artifact coordinate but with optional version (the DefaultArtifact implementation doesn't support optional versions which is why we needed this class).
ArtifactCoordinate(String, String, String, String) - Constructor for class org.xwiki.test.integration.maven.ArtifactCoordinate
 
ArtifactResolver - Class in org.xwiki.test.integration.maven
Resolves Maven Artifacts either from a remote repository or from a local POM file.
ArtifactResolver(boolean, boolean, RepositoryResolver) - Constructor for class org.xwiki.test.integration.maven.ArtifactResolver
 

B

BASEDIR - Static variable in class org.xwiki.test.integration.XWikiExecutor
 
beforeAll(ExtensionContext) - Method in class org.xwiki.test.integration.junit5.ValidateConsoleExtension
 
beforeTests() - Method in class org.xwiki.test.integration.XWikiExecutorSuite
Called before test execution.

C

convertToArtifact(Dependency) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
convertToArtifacts(Collection<Dependency>) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
convertToArtifacts(Collection<ArtifactCoordinate>, boolean) - Method in class org.xwiki.test.integration.maven.MavenResolver
 

D

DebuggingDependencyVisitor - Class in org.xwiki.test.integration.maven
Debug the Maven dependency resolution nodes by printing them.
DebuggingDependencyVisitor() - Constructor for class org.xwiki.test.integration.maven.DebuggingDependencyVisitor
 
DEFAULT_CONTEXT - Static variable in class org.xwiki.test.integration.XWikiExecutor
By default assume that XWiki is deployed under the "xwiki" Servlet context.
DEFAULT_PORT - Static variable in class org.xwiki.test.integration.XWikiExecutor
 
DEFAULT_RMIPORT - Static variable in class org.xwiki.test.integration.XWikiExecutor
 
DEFAULT_STOPPORT - Static variable in class org.xwiki.test.integration.XWikiExecutor
 
describe() - Method in class org.xwiki.test.integration.XWikiExecutorTestMethodFilter
 

E

equals(Object) - Method in class org.xwiki.test.integration.junit.Line
 
equals(Object) - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 
evaluate() - Method in class org.xwiki.test.integration.junit4.ValidateConsoleRule.ValidateConsoleStatement
 

G

getArtifactDependencies(Artifact, List<Artifact>) - Method in class org.xwiki.test.integration.maven.ArtifactResolver
 
getArtifactId() - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 
getChildren() - Method in class org.xwiki.test.integration.XWikiExecutorSuite
 
getContent() - Method in class org.xwiki.test.integration.junit.Line
 
getDebugPort() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getDependencies(Model) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
getDistributionDependencies(String, List<Artifact>) - Method in class org.xwiki.test.integration.maven.ArtifactResolver
 
getExcludedLines() - Method in class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
getExecutionDirectory() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getExecutors() - Method in class org.xwiki.test.integration.XWikiExecutorSuite
 
getExpectedLines() - Method in class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
getGroupId() - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 
getLogCaptureConfiguration() - Method in class org.xwiki.test.integration.junit4.ValidateConsoleRule
 
getModelFromCurrentPOM() - Method in class org.xwiki.test.integration.maven.MavenResolver
 
getModelFromPOM(File) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
getModelFromPOMArtifact(Artifact) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
getPattern() - Method in class org.xwiki.test.integration.XWikiExecutorTestMethodFilter
 
getPlatformVersion() - Method in class org.xwiki.test.integration.maven.MavenResolver
 
getPort() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getPropertyFromCurrentPOM(String) - Method in class org.xwiki.test.integration.maven.MavenResolver
 
getRemoteRepositoryManager() - Method in class org.xwiki.test.integration.maven.RepositoryResolver
 
getRepositories() - Method in class org.xwiki.test.integration.maven.RepositoryResolver
 
getRMIPort() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getSession() - Method in class org.xwiki.test.integration.maven.RepositoryResolver
 
getStopPort() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getSystem() - Method in class org.xwiki.test.integration.maven.RepositoryResolver
 
getType() - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 
getURL() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getVersion() - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 
getWebInfDirectory() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getXWikiCfgPath() - Method in class org.xwiki.test.integration.XWikiExecutor
 
getXWikiExecutor() - Method in class org.xwiki.test.integration.XWikiTestSetup
Deprecated.
 
getXWikiExecutor(int) - Method in class org.xwiki.test.integration.XWikiTestSetup
Deprecated.
 
getXWikiPropertiesPath() - Method in class org.xwiki.test.integration.XWikiExecutor
 

H

hashCode() - Method in class org.xwiki.test.integration.junit.Line
 
hashCode() - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 

I

isManaged() - Method in class org.xwiki.test.integration.XWikiExecutor
 
isRegex() - Method in class org.xwiki.test.integration.junit.Line
 
isXWikiStarted(String, long) - Method in class org.xwiki.test.integration.XWikiWatchdog
 

L

Line - Class in org.xwiki.test.integration.junit
Defines an expected or excluded line (can be a regex or not).
Line(String) - Constructor for class org.xwiki.test.integration.junit.Line
 
Line(String, boolean) - Constructor for class org.xwiki.test.integration.junit.Line
 
loadXWikiCfg() - Method in class org.xwiki.test.integration.XWikiExecutor
 
loadXWikiProperties() - Method in class org.xwiki.test.integration.XWikiExecutor
 
loadXWikiPropertiesConfiguration() - Method in class org.xwiki.test.integration.XWikiExecutor
 
LogCapture - Class in org.xwiki.test.integration.junit
Captures stdout and stderr while still outputting content to them.
LogCapture() - Constructor for class org.xwiki.test.integration.junit.LogCapture
 
LogCaptureConfiguration - Class in org.xwiki.test.integration.junit
Allow registering excludes and expected failing log content for tests.
LogCaptureConfiguration() - Constructor for class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
LogCaptureValidator - Class in org.xwiki.test.integration.junit
Validate logs against default excludes/expected lines and those registered by the tests.
LogCaptureValidator() - Constructor for class org.xwiki.test.integration.junit.LogCaptureValidator
 
LOGGER - Static variable in class org.xwiki.test.integration.XWikiExecutor
 
LOGGER - Static variable in class org.xwiki.test.integration.XWikiExecutorSuite
 

M

MavenResolver - Class in org.xwiki.test.integration.maven
Resolves Maven Artifacts either from a remote repository or from a local POM file.
MavenResolver(List<String>, ArtifactResolver, RepositoryResolver) - Constructor for class org.xwiki.test.integration.maven.MavenResolver
 

O

onProcessFailed(ExecuteException) - Method in class org.xwiki.test.integration.XWikiDefaultExecuteResultHandler
 
org.xwiki.test.integration - package org.xwiki.test.integration
 
org.xwiki.test.integration.junit - package org.xwiki.test.integration.junit
 
org.xwiki.test.integration.junit4 - package org.xwiki.test.integration.junit4
 
org.xwiki.test.integration.junit5 - package org.xwiki.test.integration.junit5
 
org.xwiki.test.integration.maven - package org.xwiki.test.integration.maven
 

P

parse(String) - Method in class org.xwiki.test.integration.junit.StackTraceLogParser
 
parseArtifacts(String) - Static method in class org.xwiki.test.integration.maven.ArtifactCoordinate
Parse an Artifact coordinate as a String.
PATTERN - Static variable in class org.xwiki.test.integration.XWikiExecutorSuite
 
pattern - Variable in class org.xwiki.test.integration.XWikiExecutorTestMethodFilter
 
processLine(String, int) - Method in class org.xwiki.test.integration.XWikiLogOutputStream
 

R

registerExcludeRegexes(String...) - Method in class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
registerExcludes(String...) - Method in class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
registerExpected(String...) - Method in class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
registerExpectedRegexes(String...) - Method in class org.xwiki.test.integration.junit.LogCaptureConfiguration
 
RepositoryResolver - Class in org.xwiki.test.integration.maven
Handle Repository-related code.
RepositoryResolver(boolean) - Constructor for class org.xwiki.test.integration.maven.RepositoryResolver
 
resolveArtifact(Artifact) - Method in class org.xwiki.test.integration.maven.ArtifactResolver
Resolve the passed artifact (will resolve against the remote and local repositories and ensure that the file is available on the local file system).
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.xwiki.test.integration.junit5.ValidateConsoleExtension
 
responseBody - Variable in class org.xwiki.test.integration.WatchdogResponse
The response content, if any.
responseCode - Variable in class org.xwiki.test.integration.WatchdogResponse
The response code (200, etc).
run(RunNotifier) - Method in class org.xwiki.test.integration.XWikiExecutorSuite
 

S

saveXWikiCfg(Properties) - Method in class org.xwiki.test.integration.XWikiExecutor
 
saveXWikiProperties(Properties) - Method in class org.xwiki.test.integration.XWikiExecutor
Deprecated.
since 4.2M1 use XWikiExecutor.saveXWikiProperties() instead
saveXWikiProperties() - Method in class org.xwiki.test.integration.XWikiExecutor
 
setPattern(String) - Method in class org.xwiki.test.integration.XWikiExecutorTestMethodFilter
 
setTimeoutSeconds(long) - Method in class org.xwiki.test.integration.XWikiExecutor
Change the timeout checked when starting and initializing XWiki.
setUp() - Method in class org.xwiki.test.integration.XWikiTestSetup
Deprecated.
 
setXWikiOpts(String) - Method in class org.xwiki.test.integration.XWikiExecutor
 
shouldRun(Description) - Method in class org.xwiki.test.integration.XWikiExecutorTestMethodFilter
 
StackTraceLogParser - Class in org.xwiki.test.integration.junit
Parses XWiki log formats and aggregates stack traces.
StackTraceLogParser() - Constructor for class org.xwiki.test.integration.junit.StackTraceLogParser
 
start() - Method in class org.xwiki.test.integration.XWikiExecutor
Start XWiki using the following strategy: If the xwiki.test.startXWiki system property is set to "false" then don't start/stop XWiki If the XWikiExecutor.VERIFY_RUNNING_XWIKI_AT_START property is set then checks if an XWiki instance is already running before trying to start XWiki and if so, reuse it and don't start XWiki If the XWikiExecutor.VERIFY_RUNNING_XWIKI_AT_START property is set to false then verify if some XWiki instance is already running by verifying if the port is free and fail if so.
startCapture() - Method in class org.xwiki.test.integration.junit.LogCapture
Start capturing stdout/stderr.
stop() - Method in class org.xwiki.test.integration.XWikiExecutor
 
stopCapture() - Method in class org.xwiki.test.integration.junit.LogCapture
Stop capturing stdout/stderr.
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.xwiki.test.integration.junit5.ValidateConsoleExtension
 

T

tearDown() - Method in class org.xwiki.test.integration.XWikiTestSetup
Deprecated.
 
timedOut - Variable in class org.xwiki.test.integration.WatchdogResponse
True if there was a timeout trying to ping the XWiki URL, false otherwise.
toArtifact(String) - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 
toString() - Method in class org.xwiki.test.integration.maven.ArtifactCoordinate
 

U

URL - Static variable in class org.xwiki.test.integration.XWikiExecutor
 

V

validate(String, LogCaptureConfiguration) - Method in class org.xwiki.test.integration.junit.LogCaptureValidator
 
validate(String, LogCaptureConfiguration, boolean) - Method in class org.xwiki.test.integration.junit.LogCaptureValidator
 
ValidateConsoleExtension - Class in org.xwiki.test.integration.junit5
Captures content sent to stdout/stderr by JUnit5 functional tests and report a failure if the content contains some problems in the logs.
ValidateConsoleExtension() - Constructor for class org.xwiki.test.integration.junit5.ValidateConsoleExtension
 
ValidateConsoleRule - Class in org.xwiki.test.integration.junit4
Captures content sent to stdout/stderr by JUnit4 functional tests and report a failure if the content contains some violations.
ValidateConsoleRule() - Constructor for class org.xwiki.test.integration.junit4.ValidateConsoleRule
 
ValidateConsoleRule.ValidateConsoleStatement - Class in org.xwiki.test.integration.junit4
The actual code that executes our capturing logic before the test runs and removes it after it has run.
ValidateConsoleStatement(Statement) - Constructor for class org.xwiki.test.integration.junit4.ValidateConsoleRule.ValidateConsoleStatement
 
VERIFY_RUNNING_XWIKI_AT_START - Static variable in class org.xwiki.test.integration.XWikiExecutor
If defined then we check for an existing running XWiki instance before trying to start XWiki.
visitEnter(DependencyNode) - Method in class org.xwiki.test.integration.maven.DebuggingDependencyVisitor
 
visitLeave(DependencyNode) - Method in class org.xwiki.test.integration.maven.DebuggingDependencyVisitor
 

W

WatchdogResponse - Class in org.xwiki.test.integration
Watches an XWiki URL to tell if the XWiki instance is started or not.
WatchdogResponse() - Constructor for class org.xwiki.test.integration.WatchdogResponse
 

X

XWikiDefaultExecuteResultHandler - Class in org.xwiki.test.integration
Extend the default implementation class to log an error when the process fails before finishing properly.
XWikiDefaultExecuteResultHandler(String) - Constructor for class org.xwiki.test.integration.XWikiDefaultExecuteResultHandler
 
XWikiExecutor - Class in org.xwiki.test.integration
Start and stop an XWiki instance.
XWikiExecutor(int) - Constructor for class org.xwiki.test.integration.XWikiExecutor
 
XWikiExecutorSuite - Class in org.xwiki.test.integration
Starts/Stop XWiki before/after all tests and run all tests found in the current classloader using cpsuite (we extend it).
XWikiExecutorSuite(Class<?>, RunnerBuilder) - Constructor for class org.xwiki.test.integration.XWikiExecutorSuite
 
XWikiExecutorSuite.Executors - Annotation Type in org.xwiki.test.integration
 
XWikiExecutorSuite.PostStart - Annotation Type in org.xwiki.test.integration
 
XWikiExecutorSuite.PreStart - Annotation Type in org.xwiki.test.integration
 
XWikiExecutorTestMethodFilter - Class in org.xwiki.test.integration
Filter to be applied on XWikiExecutorSuite's executed Runners (i.e.
XWikiExecutorTestMethodFilter(String) - Constructor for class org.xwiki.test.integration.XWikiExecutorTestMethodFilter
Constructor.
XWikiLogOutputStream - Class in org.xwiki.test.integration
Logs the stdout and stderr streams of an external process started using Commons Exec.
XWikiLogOutputStream() - Constructor for class org.xwiki.test.integration.XWikiLogOutputStream
Always log at STDOUT level since we don't care as we'll log exactly the messages passed to us.
XWikiTestSetup - Class in org.xwiki.test.integration
Deprecated.
use XWikiExecutorSuite instead
XWikiTestSetup(Test) - Constructor for class org.xwiki.test.integration.XWikiTestSetup
Deprecated.
 
XWikiTestSetup(Test, int) - Constructor for class org.xwiki.test.integration.XWikiTestSetup
Deprecated.
 
XWikiWatchdog - Class in org.xwiki.test.integration
Watches an XWiki URL to tell if the XWiki instance is started or not.
XWikiWatchdog() - Constructor for class org.xwiki.test.integration.XWikiWatchdog
 
A B C D E G H I L M O P R S T U V W X 
Skip navigation links

Copyright © 2004–2021 XWiki. All rights reserved.