protected static class EmailableReporter2.TestResult
extends java.lang.Object
EmailableReporter2.ClassResult
s by test, type (configuration or test), and status.Modifier and Type | Field and Description |
---|---|
protected static java.util.Comparator<ITestResult> |
RESULT_COMPARATOR
Orders test results by class name and then by method name (in lexicographic order).
|
Constructor and Description |
---|
TestResult(ITestContext context) |
protected static final java.util.Comparator<ITestResult> RESULT_COMPARATOR
public TestResult(ITestContext context)
protected java.util.List<EmailableReporter2.ClassResult> groupResults(java.util.Set<ITestResult> results)
public java.lang.String getTestName()
public java.util.List<EmailableReporter2.ClassResult> getFailedConfigurationResults()
public java.util.List<EmailableReporter2.ClassResult> getFailedTestResults()
public java.util.List<EmailableReporter2.ClassResult> getSkippedConfigurationResults()
public java.util.List<EmailableReporter2.ClassResult> getSkippedTestResults()
public java.util.List<EmailableReporter2.ClassResult> getRetriedTestResults()
public java.util.List<EmailableReporter2.ClassResult> getPassedTestResults()
public int getFailedTestCount()
public int getSkippedTestCount()
public int getRetriedTestCount()
public int getPassedTestCount()
public long getDuration()
public java.lang.String getIncludedGroups()
public java.lang.String getExcludedGroups()
protected java.lang.String formatGroups(java.lang.String[] groups)