public class GoTestX extends AbstractBuildRuleWithDeclaredAndExtraDeps implements TestXRule, HasRuntimeDeps, HasSupplementaryOutputs, ExternalTestRunnerRule, BinaryBuildRule
TestRule.TestReportingCallbackTEST_BINARY_OUTPUTNOOP_REPORTING_CALLBACK| Constructor and Description |
|---|
GoTestX(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams buildRuleParams,
GoBinary testMain,
com.google.common.collect.ImmutableSet<String> labels,
com.google.common.collect.ImmutableSet<String> contacts,
CoercedTestRunnerSpec specs,
com.google.common.collect.ImmutableSortedSet<SourcePath> resources) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<? extends Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
com.google.common.collect.ImmutableSet<String> |
getContacts() |
Tool |
getExecutableCommand(OutputLabel outputLabel)
Command to execute the output of this rule.
|
com.google.common.collect.ImmutableSet<String> |
getLabels() |
Path |
getPathToTestOutputDirectory() |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
SourcePath |
getSourcePathToOutput() |
CoercedTestRunnerSpec |
getSpecs() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExternalTestRunnerSpec, getSourcePathToSupplementaryOutput, interpretTestResults, onPreTest, runTests, runTestSeparately, shouldNotBeCalled, supportsStreamingTestscompareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic GoTestX(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams buildRuleParams, GoBinary testMain, com.google.common.collect.ImmutableSet<String> labels, com.google.common.collect.ImmutableSet<String> contacts, CoercedTestRunnerSpec specs, com.google.common.collect.ImmutableSortedSet<SourcePath> resources)
public CoercedTestRunnerSpec getSpecs()
public com.google.common.collect.ImmutableSet<String> getLabels()
public com.google.common.collect.ImmutableSet<String> getContacts()
getContacts in interface TestRulepublic Path getPathToTestOutputDirectory()
getPathToTestOutputDirectory in interface TestRulepublic com.google.common.collect.ImmutableList<? extends Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps in interface BuildRule@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps in interface HasRuntimeDepspublic Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRulegetExecutableCommand in interface BinaryBuildRuleoutputLabel - associated with the executable