Package org.testng
Class SuiteResult
- java.lang.Object
-
- org.testng.SuiteResult
-
- All Implemented Interfaces:
java.lang.Comparable<ISuiteResult>
,ISuiteResult
class SuiteResult extends java.lang.Object implements ISuiteResult, java.lang.Comparable<ISuiteResult>
This class logs the result of an entire Test Suite (defined by a property file).
-
-
Field Summary
Fields Modifier and Type Field Description private XmlSuite
m_suite
private ITestContext
m_testContext
-
Constructor Summary
Constructors Modifier Constructor Description protected
SuiteResult(XmlSuite suite, ITestContext tr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ISuiteResult other)
XmlSuite
getSuite()
ITestContext
getTestContext()
java.lang.String
toString()
Returns the test context name.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.testng.ISuiteResult
getPropertyFileName
-
-
-
-
Field Detail
-
m_suite
private final XmlSuite m_suite
-
m_testContext
private final ITestContext m_testContext
-
-
Constructor Detail
-
SuiteResult
protected SuiteResult(XmlSuite suite, ITestContext tr)
-
-
Method Detail
-
getTestContext
public ITestContext getTestContext()
- Specified by:
getTestContext
in interfaceISuiteResult
- Returns:
- Returns the singleTestRunner.
-
getSuite
public XmlSuite getSuite()
- Returns:
- Returns the suite.
-
compareTo
public int compareTo(@Nonnull ISuiteResult other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ISuiteResult>
-
toString
public java.lang.String toString()
Returns the test context name.- Overrides:
toString
in classjava.lang.Object
-
-