public abstract class TestResults extends Object implements TestResultsExternalInterface<TestCaseSummary>
Modifier and Type | Class and Description |
---|---|
static class |
TestResults.Builder |
Constructor and Description |
---|
TestResults() |
Modifier and Type | Method and Description |
---|---|
static TestResults.Builder |
builder() |
abstract BuildTarget |
getBuildTarget() |
abstract com.google.common.collect.ImmutableSet<String> |
getContacts() |
boolean |
getDependenciesPassTheirTests() |
int |
getFailureCount() |
com.google.common.collect.ImmutableList<TestCaseSummary> |
getFailures() |
abstract com.google.common.collect.ImmutableSet<String> |
getLabels() |
int |
getSequenceNumber() |
abstract com.google.common.collect.ImmutableList<TestCaseSummary> |
getTestCases() |
abstract com.google.common.collect.ImmutableList<Path> |
getTestLogPaths() |
int |
getTotalNumberOfTests() |
boolean |
hasAssumptionViolations() |
boolean |
isSuccess() |
static TestResults |
of(BuildTarget buildTarget,
com.google.common.collect.ImmutableList<TestCaseSummary> testCases,
com.google.common.collect.ImmutableSet<String> contacts,
com.google.common.collect.ImmutableSet<String> labels) |
String |
toString() |
@Value.Parameter public abstract BuildTarget getBuildTarget()
@Value.Derived public boolean isSuccess()
isSuccess
in interface TestResultsExternalInterface<TestCaseSummary>
@Value.Derived public boolean hasAssumptionViolations()
hasAssumptionViolations
in interface TestResultsExternalInterface<TestCaseSummary>
@Value.Derived public int getFailureCount()
@Value.Derived public com.google.common.collect.ImmutableList<TestCaseSummary> getFailures()
@Value.Parameter public abstract com.google.common.collect.ImmutableList<TestCaseSummary> getTestCases()
getTestCases
in interface TestResultsExternalInterface<TestCaseSummary>
TestCaseSummaryExternalInterface
@Value.Parameter public abstract com.google.common.collect.ImmutableSet<String> getContacts()
@Value.Parameter public abstract com.google.common.collect.ImmutableSet<String> getLabels()
public abstract com.google.common.collect.ImmutableList<Path> getTestLogPaths()
@Value.Default public boolean getDependenciesPassTheirTests()
getDependenciesPassTheirTests
in interface TestResultsExternalInterface<TestCaseSummary>
@Value.Default public int getSequenceNumber()
@Value.Default public int getTotalNumberOfTests()
getTotalNumberOfTests
in interface TestResultsExternalInterface<TestCaseSummary>
public static TestResults of(BuildTarget buildTarget, com.google.common.collect.ImmutableList<TestCaseSummary> testCases, com.google.common.collect.ImmutableSet<String> contacts, com.google.common.collect.ImmutableSet<String> labels)
public static TestResults.Builder builder()