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, isCacheabledeprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hashCode, injectFields, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic JavaTestRunner(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, JavaLibrary compiledTestsLibrary, String mainClass)
public JavaLibrary getCompiledTestsLibrary()
public String getMainClass()