public class TestCommand extends BuildCommand
Modifier and Type | Class and Description |
---|---|
static class |
TestCommand.CoverageReportFormatsHandler
args4j does not support parsing repeated (or delimiter separated) Enums by default.
|
BuildCommand.ActionGraphCreationException
commandArgsFile
Constructor and Description |
---|
TestCommand() |
executeLocalBuild, getAdditionalTargetsToBuild, getArguments, getBuildEngineMode, getEventListeners, getPathToBuildReport, isKeepGoing, isRemoteExecutionForceDisabled, isSourceControlStatsGatheringEnabled, run, setKeepGoing, shouldReportAbsolutePaths
addCommandSpecificConfigOverrides, convertArgumentsToBuildTargets, createParsingContext, getCommandArgsFile, getCommandLineBuildTargetNormalizer, getConcurrencyLimit, getConfigOverrides, getEnableParserProfiling, getEventsOutputPath, getExcludeIncompatibleTargets, getExecutionContext, getHostPlatform, getLogConfig, getTargetPlatforms, handleException, isNoCache, isReuseCurrentConfig, matchBuildTargetsWithLabelsFromSpecs, prepareExecutionContext, printWarning, printWarning, run, runHelp
getPluginManager, setPluginManager
public boolean isRunAllTests()
public boolean isCodeCoverageEnabled()
isCodeCoverageEnabled
in class BuildCommand
public boolean isDebugEnabled()
isDebugEnabled
in class BuildCommand
public Optional<TargetDevice> getTargetDeviceOptional()
public AdbOptions getAdbOptions(BuckConfig buckConfig)
public TargetDeviceOptions getTargetDeviceOptions()
public boolean isMatchedByLabelOptions(BuckConfig buckConfig, Set<String> labels)
public boolean shouldExcludeTransitiveTests()
public boolean shouldExcludeWin()
public boolean isBuildFiltered(BuckConfig buckConfig)
public int getNumTestThreads(BuckConfig buckConfig)
public int getNumTestManagedThreads(ResourcesConfig resourcesConfig)
protected void assertArguments(CommandRunnerParams params)
assertArguments
in class BuildCommand
public ExitCode runWithoutHelp(CommandRunnerParams params) throws Exception
runWithoutHelp
in class BuildCommand
Exception
protected ExecutionContext.Builder getExecutionContextBuilder(CommandRunnerParams params)
getExecutionContextBuilder
in class BuildCommand
public boolean isReadOnly()
isReadOnly
in interface Command
isReadOnly
in class BuildCommand
public void printUsage(PrintStream stream)
printUsage
in interface Command
printUsage
in class AbstractCommand
public String getShortDescription()
getShortDescription
in interface Command
getShortDescription
in class BuildCommand
public boolean performsBuild()
performsBuild
in interface Command
performsBuild
in class BuildCommand
public void handleException(org.kohsuke.args4j.CmdLineException e) throws org.kohsuke.args4j.CmdLineException
handleException
in class AbstractCommand
org.kohsuke.args4j.CmdLineException