| org.testng.ITestResult
All known Subclasses: org.testng.internal.TestResult,
ITestResult | public interface ITestResult extends Serializable(Code) | | This class describes the result of a test.
author: Cedric Beust, May 2, 2004 since: May 2, 2004 version: $Revision: 149 $, $Date: 2006-09-22 16:20:00 -0700 (Fri, 22 Sep 2006) $ |
FAILURE | final public static int FAILURE(Code) | | |
SKIP | final public static int SKIP(Code) | | |
STARTED | final public static int STARTED(Code) | | |
SUCCESS | final public static int SUCCESS(Code) | | |
SUCCESS_PERCENTAGE_FAILURE | final public static int SUCCESS_PERCENTAGE_FAILURE(Code) | | |
getEndMillis | public long getEndMillis()(Code) | | the end date for this test, in milliseconds. |
getHost | public String getHost()(Code) | | The host where this suite was run, or null if it was run locally. Thereturned string has the form: host:port |
getName | public String getName()(Code) | | The name of this TestResult, typically identical to the nameof the method. |
getParameters | public Object[] getParameters()(Code) | | The parameters this method was invoked with. |
getStartMillis | public long getStartMillis()(Code) | | the start date for this test, in milliseconds. |
getStatus | public int getStatus()(Code) | | The status of this result, using one of the constantsabove. |
getTestClass | public IClass getTestClass()(Code) | | The test class used this object is a result for. |
getThrowable | public Throwable getThrowable()(Code) | | The throwable that was thrown while running themethod, or null if no exception was thrown. |
isSuccess | public boolean isSuccess()(Code) | | true if if this test run is a SUCCESS |
setEndMillis | public void setEndMillis(long millis)(Code) | | |
setParameters | public void setParameters(Object[] parameters)(Code) | | |
setStatus | public void setStatus(int status)(Code) | | |
|
|