@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableTestInfo extends TestInfo
TestInfo.
Use the static factory method to create immutable instances:
new ImmutableTestInfo().
| Constructor and Description |
|---|
ImmutableTestInfo(String testName,
String testCaseName,
Iterable<String> labels,
Iterable<String> contacts,
Object timeoutMs,
boolean runTestsSeparately,
String type)
Construct a new immutable
TestInfo instance. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<String> |
contacts() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableTestInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
testName, testCaseName, labels, contacts, timeoutMs, runTestsSeparately, type. |
com.google.common.collect.ImmutableSet<String> |
labels() |
boolean |
runTestsSeparately() |
String |
testCaseName() |
String |
testName() |
Object |
timeoutMs() |
String |
toString()
Prints the immutable value
TestInfo with attribute values. |
String |
type() |
Optional<Long> |
typedTimeoutMs() |
instantiateFromSkylark, ofgetDeclaredClass, getProvider, getProviderInfo, isImmutablegetErrorMessageForUnknownField, getFieldNames, getMethods, getValue, reprclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ImmutableTestInfo(String testName, String testCaseName, Iterable<String> labels, Iterable<String> contacts, Object timeoutMs, boolean runTestsSeparately, String type)
TestInfo instance.testName - The value for the testName attributetestCaseName - The value for the testCaseName attributelabels - The value for the labels attributecontacts - The value for the contacts attributetimeoutMs - The value for the timeoutMs attributerunTestsSeparately - The value for the runTestsSeparately attributetype - The value for the type attributepublic String testName()
public String testCaseName()
testCaseName in class TestInfopublic com.google.common.collect.ImmutableSet<String> labels()
public com.google.common.collect.ImmutableSet<String> contacts()
public boolean runTestsSeparately()
runTestsSeparately in class TestInfopublic String type()
public boolean equals(@Nullable Object another)
ImmutableTestInfo that have equal attribute values.public int hashCode()
testName, testCaseName, labels, contacts, timeoutMs, runTestsSeparately, type.public String toString()
TestInfo with attribute values.public Optional<Long> typedTimeoutMs()
Returns a lazily initialized value of the typedTimeoutMs attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
typedTimeoutMs in class TestInfotypedTimeoutMs attribute