org.testng.reporters
Class EmailableReporter2.TestResult
java.lang.Object
org.testng.reporters.EmailableReporter2.TestResult
- Enclosing class:
- EmailableReporter2
protected static class EmailableReporter2.TestResult
- extends Object
Groups EmailableReporter2.ClassResult
s by test, type (configuration or test), and
status.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESULT_COMPARATOR
protected static final Comparator<ITestResult> RESULT_COMPARATOR
- Orders test results by class name and then by method name (in
lexicographic order).
EmailableReporter2.TestResult
public EmailableReporter2.TestResult(ITestContext context)
groupResults
protected List<EmailableReporter2.ClassResult> groupResults(Set<ITestResult> results)
- Groups test results by method and then by class.
getTestName
public String getTestName()
getFailedConfigurationResults
public List<EmailableReporter2.ClassResult> getFailedConfigurationResults()
- Returns:
- the results for failed configurations (possibly empty)
getFailedTestResults
public List<EmailableReporter2.ClassResult> getFailedTestResults()
- Returns:
- the results for failed tests (possibly empty)
getSkippedConfigurationResults
public List<EmailableReporter2.ClassResult> getSkippedConfigurationResults()
- Returns:
- the results for skipped configurations (possibly empty)
getSkippedTestResults
public List<EmailableReporter2.ClassResult> getSkippedTestResults()
- Returns:
- the results for skipped tests (possibly empty)
getPassedTestResults
public List<EmailableReporter2.ClassResult> getPassedTestResults()
- Returns:
- the results for passed tests (possibly empty)
getFailedTestCount
public int getFailedTestCount()
getSkippedTestCount
public int getSkippedTestCount()
getPassedTestCount
public int getPassedTestCount()
getDuration
public long getDuration()
getIncludedGroups
public String getIncludedGroups()
getExcludedGroups
public String getExcludedGroups()
formatGroups
protected String formatGroups(String[] groups)
- Formats an array of groups for display.
Copyright © 2015. All Rights Reserved.