public class TestConfiguration extends Object
Constructor and Description |
---|
TestConfiguration(UITest uiTestAnnotation) |
Modifier and Type | Method and Description |
---|---|
Browser |
getBrowser() |
Database |
getDatabase() |
Properties |
getDatabaseCommands() |
String |
getDatabaseTag() |
List<org.xwiki.tool.extension.ExtensionOverride> |
getExtensionOverrides() |
Set<org.xwiki.test.integration.maven.ArtifactCoordinate> |
getExtraJARs() |
List<ServletEngine> |
getForbiddenServletEngines() |
String |
getJDBCDriverVersion() |
String |
getName() |
String |
getOutputDirectory() |
List<String> |
getProfiles() |
Properties |
getProperties() |
ServletEngine |
getServletEngine() |
String |
getServletEngineTag() |
List<Integer> |
getSSHPorts() |
boolean |
isDatabaseDataSaved() |
boolean |
isDebug() |
boolean |
isOffice() |
boolean |
isOffline() |
boolean |
isResolveExtraJARs() |
boolean |
isVerbose() |
void |
merge(TestConfiguration testConfiguration) |
boolean |
vnc() |
public TestConfiguration(UITest uiTestAnnotation)
uiTestAnnotation
- the annotation from which to extract the configurationpublic void merge(TestConfiguration testConfiguration) throws DockerTestException
testConfiguration
- the configuration to merge with the current oneDockerTestException
public Browser getBrowser()
public Database getDatabase()
public ServletEngine getServletEngine()
public boolean isVerbose()
public boolean isDebug()
public boolean isDatabaseDataSaved()
public boolean isOffline()
public String getDatabaseTag()
public String getServletEngineTag()
public String getJDBCDriverVersion()
public boolean vnc()
public Properties getProperties()
xwiki.properties
(check xwiki.properties.vm
to find the list of supported properties)public Properties getDatabaseCommands()
character-set-server=utf8mb4
public Set<org.xwiki.test.integration.maven.ArtifactCoordinate> getExtraJARs()
WEB-INF/lib
directorypublic boolean isResolveExtraJARs()
UITest.resolveExtraJARs()
public List<org.xwiki.tool.extension.ExtensionOverride> getExtensionOverrides()
public List<Integer> getSSHPorts()
host.testcontainers.internal
host name). This is in addition to port 8080
which is
always added. For example if you need XWiki to send a mail to a SMTP server running on port 3025 on the host, you
should add port 3025 to the list.public List<String> getProfiles()
public String getName()
public String getOutputDirectory()
maven.build.dir
system property is not defined then construct an output directory name based on the defined configuration so that
we can run different configurations one after another without them overriding each other. The maven.build.dir
system property is there to allow controlling where the Maven output directory is located when
running from Maven.public boolean isOffice()
public List<ServletEngine> getForbiddenServletEngines()
Copyright © 2004–2021 XWiki. All rights reserved.