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(@NotNull TaskContext taskContext,
@NotNull CapabilityContext capabilityContext,
@NotNull String capabilityPrefix,
@NotNull EnvironmentVariableAccessor environmentVariableAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract @NotNull List<String> |
buildCommandline() |
@NotNull List<String> |
getArguments() |
String |
getBuilderPath() |
@NotNull List<String> |
getCommandline() |
@Nullable String |
getCoverageHtmlDirectoryName() |
@NotNull Map<String,String> |
getExtraEnvironment() |
@Nullable String |
getLogJunitFilename()
Get "Log test execution to an XML file" configuration value.
|
@NotNull File |
getRootDirectory() |
@NotNull 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
@NotNull TaskContext taskContext,
@NotNull
@NotNull CapabilityContext capabilityContext,
@NotNull
@NotNull String capabilityPrefix,
@NotNull
@NotNull EnvironmentVariableAccessor environmentVariableAccessor)
@NotNull public @NotNull List<String> getCommandline()
getCommandline in interface PhpUnitConfig@NotNull public @NotNull Map<String,String> getExtraEnvironment()
getExtraEnvironment in interface PhpUnitConfig@NotNull public @NotNull List<String> getArguments()
getArguments in interface PhpUnitConfigpublic String getBuilderPath()
@Nullable public @Nullable String getCoverageHtmlDirectoryName()
public boolean isCoverageHtmlEnabled()
public boolean isLogJunitEnabled()
isLogJunitEnabled in interface PhpUnitConfig@Nullable public @Nullable String getLogJunitFilename()
PhpUnitConfiggetLogJunitFilename in interface PhpUnitConfig@NotNull public @NotNull File getRootDirectory()
getRootDirectory in interface PhpUnitConfig@NotNull public @NotNull File getWorkingDirectory()
getWorkingDirectory in interface PhpUnitConfigCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.