Class AbstractPhpUnitConfig
java.lang.Object
com.atlassian.bamboo.plugins.php.task.AbstractPhpUnitConfig
- All Implemented Interfaces:
PhpUnitConfig
- Direct Known Subclasses:
PhpUnit33XConfigImpl
,PhpUnitConfigImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface com.atlassian.bamboo.plugins.php.task.PhpUnitConfig
PLUGIN_KEY_PHPUNIT, PLUGIN_KEY_PHPUNIT33X
-
Constructor Summary
ConstructorDescriptionAbstractPhpUnitConfig
(@NotNull TaskContext taskContext, @NotNull CapabilityContext capabilityContext, @NotNull String capabilityPrefix, @NotNull EnvironmentVariableAccessor environmentVariableAccessor) -
Method Summary
-
Field Details
-
CFG_ARGUMENTS
- See Also:
-
CFG_LOG_JUNIT_ENABLED
- See Also:
-
CFG_LOG_JUNIT_ENABLED_BOOLEAN
- See Also:
-
CFG_LOG_JUNIT_FILENAME
- See Also:
-
CFG_COVERAGE_HTML_ENABLED
- See Also:
-
CFG_COVERAGE_HTML_ENABLED_BOOLEAN
- See Also:
-
CFG_COVERAGE_HTML_DIRECTORY_NAME
- See Also:
-
-
Constructor Details
-
AbstractPhpUnitConfig
public AbstractPhpUnitConfig(@NotNull @NotNull TaskContext taskContext, @NotNull @NotNull CapabilityContext capabilityContext, @NotNull @NotNull String capabilityPrefix, @NotNull @NotNull EnvironmentVariableAccessor environmentVariableAccessor)
-
-
Method Details
-
buildCommandline
-
getCommandline
- Specified by:
getCommandline
in interfacePhpUnitConfig
-
getExtraEnvironment
- Specified by:
getExtraEnvironment
in interfacePhpUnitConfig
-
getArguments
- Specified by:
getArguments
in interfacePhpUnitConfig
-
getBuilderPath
-
getCoverageHtmlDirectoryName
-
isCoverageHtmlEnabled
public boolean isCoverageHtmlEnabled() -
isLogJunitEnabled
public boolean isLogJunitEnabled()- Specified by:
isLogJunitEnabled
in interfacePhpUnitConfig
-
getLogJunitFilename
Description copied from interface:PhpUnitConfig
Get "Log test execution to an XML file" configuration value.- Specified by:
getLogJunitFilename
in interfacePhpUnitConfig
- Returns:
- Path which is relative to source root.
-
getRootDirectory
- Specified by:
getRootDirectory
in interfacePhpUnitConfig
-
getWorkingDirectory
- Specified by:
getWorkingDirectory
in interfacePhpUnitConfig
-