public class JavaTestRunner extends NoopBuildRuleWithDeclaredAndExtraDeps
This is used to specify the target that represents the test runner itself, which is a binary that will have the test source compiled into it.
Constructor and Description |
---|
JavaTestRunner(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
JavaLibrary compiledTestsLibrary,
String mainClass) |
Modifier and Type | Method and Description |
---|---|
JavaLibrary |
getCompiledTestsLibrary() |
String |
getMainClass() |
getBuildSteps, getSourcePathToOutput, hasBuildSteps, isCacheable
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hashCode, injectFields, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
public JavaTestRunner(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, JavaLibrary compiledTestsLibrary, String mainClass)
public JavaLibrary getCompiledTestsLibrary()
public String getMainClass()