public class JavaTestX extends AbstractBuildRuleWithDeclaredAndExtraDeps implements TestXRule, HasRuntimeDeps, ExternalTestRunnerRule, ExportDependencies
It cannot be run via buck's internal runners
TestRule.TestReportingCallbackTEST_BINARY_OUTPUTNOOP_REPORTING_CALLBACK| Constructor and Description |
|---|
JavaTestX(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
JavaBinary compiledTestsBinary,
JavaLibrary compiledTestsLibrary,
Set<String> labels,
Set<String> contacts,
CoercedTestRunnerSpec specs,
List<Arg> vmArg) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext buildContext,
BuildableContext buildableContext) |
com.google.common.collect.ImmutableSet<String> |
getContacts() |
SortedSet<BuildRule> |
getExportedDeps() |
SortedSet<BuildRule> |
getExportedProvidedDeps() |
protected com.google.common.collect.ImmutableList<String> |
getJvmArgs(SourcePathResolverAdapter sourcePathResolverAdapter) |
com.google.common.collect.ImmutableSet<String> |
getLabels() |
Path |
getPathToTestOutputDirectory() |
protected com.google.common.collect.ImmutableSet<Path> |
getRuntimeClasspath(BuildContext buildContext) |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
SourcePath |
getSourcePathToOutput() |
SourcePath |
getSourcePathToSupplementaryOutput(String name)
Returns a SourcePath to a named supplementary output, or null if it does not exist.
|
CoercedTestRunnerSpec |
getSpecs() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExternalTestRunnerSpec, interpretTestResults, onPreTest, runTests, runTestSeparately, shouldNotBeCalled, supportsStreamingTestscompareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic JavaTestX(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, JavaBinary compiledTestsBinary, JavaLibrary compiledTestsLibrary, Set<String> labels, Set<String> contacts, CoercedTestRunnerSpec specs, List<Arg> vmArg)
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<Step> getBuildSteps(BuildContext buildContext, BuildableContext buildableContext)
getBuildSteps in interface BuildRulepublic SortedSet<BuildRule> getExportedDeps()
getExportedDeps in interface ExportDependenciespublic SortedSet<BuildRule> getExportedProvidedDeps()
getExportedProvidedDeps in interface ExportDependencies@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps in interface HasRuntimeDepsprotected com.google.common.collect.ImmutableSet<Path> getRuntimeClasspath(BuildContext buildContext)
protected com.google.common.collect.ImmutableList<String> getJvmArgs(SourcePathResolverAdapter sourcePathResolverAdapter)
public CoercedTestRunnerSpec getSpecs()
@Nullable public SourcePath getSourcePathToSupplementaryOutput(String name)
HasSupplementaryOutputsgetSourcePathToSupplementaryOutput in interface HasSupplementaryOutputsgetSourcePathToSupplementaryOutput in interface TestXRule