public class RobolectricTestX extends JavaTestX
TestRule.TestReportingCallback
TEST_BINARY_OUTPUT
NOOP_REPORTING_CALLBACK
Modifier | Constructor and Description |
---|---|
protected |
RobolectricTestX(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
JavaBinary compiledTestsBinary,
JavaLibrary compiledTestsLibrary,
Set<String> labels,
Set<String> contacts,
CoercedTestRunnerSpec specs,
List<Arg> vmArgs,
Optional<DummyRDotJava> optionalDummyRDotJava,
Optional<SourcePath> robolectricRuntimeDependency,
Optional<SourcePath> robolectricManifest,
boolean passDirectoriesInFile) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext buildContext,
BuildableContext buildableContext) |
protected com.google.common.collect.ImmutableList<String> |
getJvmArgs(SourcePathResolverAdapter pathResolver) |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
getContacts, getExportedDeps, getExportedProvidedDeps, getLabels, getPathToTestOutputDirectory, getRuntimeClasspath, getSourcePathToOutput, getSourcePathToSupplementaryOutput, getSpecs
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExternalTestRunnerSpec, interpretTestResults, onPreTest, runTests, runTestSeparately, shouldNotBeCalled, supportsStreamingTests
compareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
protected RobolectricTestX(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, JavaBinary compiledTestsBinary, JavaLibrary compiledTestsLibrary, Set<String> labels, Set<String> contacts, CoercedTestRunnerSpec specs, List<Arg> vmArgs, Optional<DummyRDotJava> optionalDummyRDotJava, Optional<SourcePath> robolectricRuntimeDependency, Optional<SourcePath> robolectricManifest, boolean passDirectoriesInFile)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext buildContext, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
getBuildSteps
in class JavaTestX
protected com.google.common.collect.ImmutableList<String> getJvmArgs(SourcePathResolverAdapter pathResolver)
getJvmArgs
in class JavaTestX
public java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps
in interface HasRuntimeDeps
getRuntimeDeps
in class JavaTestX