public abstract class TestInfo extends BuiltInProviderInfo<TestInfo>
Modifier and Type | Field and Description |
---|---|
static BuiltInProvider<TestInfo> |
PROVIDER |
Constructor and Description |
---|
TestInfo() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableSet<String> |
contacts() |
static TestInfo |
instantiateFromSkylark(String testName,
String testCaseName,
com.google.devtools.build.lib.syntax.SkylarkList<String> labels,
com.google.devtools.build.lib.syntax.SkylarkList<String> contacts,
Object timeoutMs,
boolean runTestsSeparately,
String type,
com.google.devtools.build.lib.events.Location location)
Create an instance from skylark objects
|
abstract com.google.common.collect.ImmutableSet<String> |
labels() |
static TestInfo |
of(String testName,
String testCaseName,
com.google.common.collect.ImmutableSet<String> labels,
com.google.common.collect.ImmutableSet<String> contacts,
Optional<Long> timeoutMs,
boolean runTestsSeparately,
String type)
Create an instance from native values
|
abstract boolean |
runTestsSeparately() |
abstract String |
testCaseName() |
abstract String |
testName() |
abstract Object |
timeoutMs() |
abstract String |
type() |
Optional<Long> |
typedTimeoutMs() |
getDeclaredClass, getProvider, getProviderInfo, isImmutable
getErrorMessageForUnknownField, getFieldNames, getMethods, getValue, repr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final BuiltInProvider<TestInfo> PROVIDER
public abstract String testName()
public abstract String testCaseName()
public abstract com.google.common.collect.ImmutableSet<String> labels()
public abstract com.google.common.collect.ImmutableSet<String> contacts()
public abstract Object timeoutMs()
public abstract boolean runTestsSeparately()
public abstract String type()
public static TestInfo of(String testName, String testCaseName, com.google.common.collect.ImmutableSet<String> labels, com.google.common.collect.ImmutableSet<String> contacts, Optional<Long> timeoutMs, boolean runTestsSeparately, String type)
public static TestInfo instantiateFromSkylark(String testName, String testCaseName, com.google.devtools.build.lib.syntax.SkylarkList<String> labels, com.google.devtools.build.lib.syntax.SkylarkList<String> contacts, Object timeoutMs, boolean runTestsSeparately, String type, com.google.devtools.build.lib.events.Location location) throws com.google.devtools.build.lib.syntax.EvalException
com.google.devtools.build.lib.syntax.EvalException