public abstract class AbstractPhpUnitConfig extends Object implements PhpUnitConfig
Modifier and Type | Field and Description |
---|---|
static String |
CFG_ARGUMENTS |
static String |
CFG_COVERAGE_HTML_DIRECTORY_NAME |
static String |
CFG_COVERAGE_HTML_ENABLED |
static String |
CFG_COVERAGE_HTML_ENABLED_BOOLEAN |
static String |
CFG_LOG_JUNIT_ENABLED |
static String |
CFG_LOG_JUNIT_ENABLED_BOOLEAN |
static String |
CFG_LOG_JUNIT_FILENAME |
PLUGIN_KEY_PHPUNIT, PLUGIN_KEY_PHPUNIT33X
Constructor and Description |
---|
AbstractPhpUnitConfig(TaskContext taskContext,
CapabilityContext capabilityContext,
String capabilityPrefix,
EnvironmentVariableAccessor environmentVariableAccessor) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<String> |
buildCommandline() |
List<String> |
getArguments() |
String |
getBuilderPath() |
List<String> |
getCommandline() |
String |
getCoverageHtmlDirectoryName() |
Map<String,String> |
getExtraEnvironment() |
String |
getLogJunitFilename()
Get "Log test execution to an XML file" configuration value.
|
File |
getRootDirectory() |
File |
getWorkingDirectory() |
boolean |
isCoverageHtmlEnabled() |
boolean |
isLogJunitEnabled() |
public static final String CFG_ARGUMENTS
public static final String CFG_LOG_JUNIT_ENABLED
public static final String CFG_LOG_JUNIT_ENABLED_BOOLEAN
public static final String CFG_LOG_JUNIT_FILENAME
public static final String CFG_COVERAGE_HTML_ENABLED
public static final String CFG_COVERAGE_HTML_ENABLED_BOOLEAN
public static final String CFG_COVERAGE_HTML_DIRECTORY_NAME
public AbstractPhpUnitConfig(@NotNull TaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull String capabilityPrefix, @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
@NotNull public List<String> getCommandline()
getCommandline
in interface PhpUnitConfig
@NotNull public Map<String,String> getExtraEnvironment()
getExtraEnvironment
in interface PhpUnitConfig
@NotNull public List<String> getArguments()
getArguments
in interface PhpUnitConfig
public String getBuilderPath()
@Nullable public String getCoverageHtmlDirectoryName()
public boolean isCoverageHtmlEnabled()
public boolean isLogJunitEnabled()
isLogJunitEnabled
in interface PhpUnitConfig
@Nullable public String getLogJunitFilename()
PhpUnitConfig
getLogJunitFilename
in interface PhpUnitConfig
@NotNull public File getRootDirectory()
getRootDirectory
in interface PhpUnitConfig
@NotNull public File getWorkingDirectory()
getWorkingDirectory
in interface PhpUnitConfig
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.