public class TestResultFormatter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestResultFormatter.FormatMode |
Constructor and Description |
---|
TestResultFormatter(Ansi ansi,
Verbosity verbosity,
TestResultSummaryVerbosity summaryVerbosity,
Locale locale,
Optional<Path> testLogsPath) |
Modifier and Type | Method and Description |
---|---|
void |
reportResult(com.google.common.collect.ImmutableList.Builder<String> addTo,
TestResults results)
Writes a detailed summary that ends with a trailing newline.
|
void |
reportResultSummary(com.google.common.collect.ImmutableList.Builder<String> addTo,
TestResultSummary testResult) |
void |
runComplete(com.google.common.collect.ImmutableList.Builder<String> addTo,
List<TestResults> completedResults,
List<TestStatusMessage> testStatusMessages) |
void |
runStarted(com.google.common.collect.ImmutableList.Builder<String> addTo,
boolean isRunAllTests,
TestSelectorList testSelectorList,
boolean shouldExplainTestSelectorList,
com.google.common.collect.ImmutableSet<String> targetNames,
TestResultFormatter.FormatMode formatMode) |
public void runStarted(com.google.common.collect.ImmutableList.Builder<String> addTo, boolean isRunAllTests, TestSelectorList testSelectorList, boolean shouldExplainTestSelectorList, com.google.common.collect.ImmutableSet<String> targetNames, TestResultFormatter.FormatMode formatMode)
public void reportResult(com.google.common.collect.ImmutableList.Builder<String> addTo, TestResults results)
public void reportResultSummary(com.google.common.collect.ImmutableList.Builder<String> addTo, TestResultSummary testResult)
public void runComplete(com.google.common.collect.ImmutableList.Builder<String> addTo, List<TestResults> completedResults, List<TestStatusMessage> testStatusMessages)