org.testng
Class SuiteResult

java.lang.Object
  extended by org.testng.SuiteResult
All Implemented Interfaces:
Serializable, Comparable, ISuiteResult

public class SuiteResult
extends Object
implements ISuiteResult, 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 Comparator COMPARATOR
           
 
Constructor Summary
SuiteResult(String propertyFileName, ITestContext tr)
           
SuiteResult(XmlSuite suite, ITestContext tr)
           
 
Method Summary
 int compareTo(Object o)
           
 String getPropertyFileName()
           
 XmlSuite getSuite()
           
 ITestContext getTestContext()
           
 String toString()
          Returns the test context name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPARATOR

public static final Comparator COMPARATOR
Constructor Detail

SuiteResult

public SuiteResult(String propertyFileName,
                   ITestContext tr)
Parameters:
propertyFileName -
tr -

SuiteResult

public SuiteResult(XmlSuite suite,
                   ITestContext tr)
Method Detail

getPropertyFileName

public 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(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Returns the test context name.

Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.