org.testng
Class SuiteResult
java.lang.Object
org.testng.SuiteResult
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, ISuiteResult
public class SuiteResult
- extends java.lang.Object
- implements ISuiteResult, java.lang.Comparable
This class logs the result of an entire Test Suite (defined by a
property file).
- Author:
- Cedric Beust, May 10, 2004
- See Also:
- Serialized Form
Field Summary |
static java.util.Comparator |
COMPARATOR
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPARATOR
public static final java.util.Comparator COMPARATOR
SuiteResult
public SuiteResult(java.lang.String propertyFileName,
ITestContext tr)
- Parameters:
propertyFileName
- tr
-
SuiteResult
public SuiteResult(XmlSuite suite,
ITestContext tr)
getPropertyFileName
public java.lang.String getPropertyFileName()
- Specified by:
getPropertyFileName
in interface ISuiteResult
- Returns:
- Returns the propertyFileName.
getTestContext
public ITestContext getTestContext()
- Specified by:
getTestContext
in interface ISuiteResult
- Returns:
- Returns the singleTestRunner.
getSuite
public XmlSuite getSuite()
- Returns:
- Returns the suite.
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
- Returns the test context name.
- Overrides:
toString
in class java.lang.Object