public class TestCaseSummary extends Object implements TestCaseSummaryExternalInterface<TestResultSummary>
Constructor and Description |
---|
TestCaseSummary(String testCaseName,
boolean testSuite,
List<TestResultSummary> testResults) |
TestCaseSummary(String testCaseName,
List<TestResultSummary> testResults) |
Modifier and Type | Method and Description |
---|---|
int |
getFailureCount() |
String |
getOneLineSummary(Locale locale,
boolean hasPassingDependencies,
Ansi ansi) |
int |
getPassedCount() |
int |
getSkippedCount() |
String |
getTestCaseName() |
com.google.common.collect.ImmutableList<TestResultSummary> |
getTestResults() |
long |
getTotalTime() |
boolean |
hasAssumptionViolations() |
boolean |
isDryRun() |
boolean |
isSuccess() |
boolean |
isTestSuite() |
String |
toString() |
public TestCaseSummary(String testCaseName, List<TestResultSummary> testResults)
public TestCaseSummary(String testCaseName, boolean testSuite, List<TestResultSummary> testResults)
public boolean isDryRun()
public boolean isSuccess()
isSuccess
in interface TestCaseSummaryExternalInterface<TestResultSummary>
public boolean hasAssumptionViolations()
hasAssumptionViolations
in interface TestCaseSummaryExternalInterface<TestResultSummary>
public String getTestCaseName()
getTestCaseName
in interface TestCaseSummaryExternalInterface<TestResultSummary>
public long getTotalTime()
getTotalTime
in interface TestCaseSummaryExternalInterface<TestResultSummary>
public boolean isTestSuite()
public String getOneLineSummary(Locale locale, boolean hasPassingDependencies, Ansi ansi)
public com.google.common.collect.ImmutableList<TestResultSummary> getTestResults()
getTestResults
in interface TestCaseSummaryExternalInterface<TestResultSummary>
TestResultSummaryExternalInterface
public int getPassedCount()
public int getSkippedCount()
getSkippedCount
in interface TestCaseSummaryExternalInterface<TestResultSummary>
public int getFailureCount()
getFailureCount
in interface TestCaseSummaryExternalInterface<TestResultSummary>