| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a result of a test
| Method Summary | |
void | addResultListener(IResultListener l)Adds a result listener. |
int | countErrors()Returns the number of errors in this result. |
int | countFailures()Returns the number of failures in this result. |
String | getAssetReferenceId()Returns the reference id of test asset that produced this result. |
int | getChildTestResultCount()Returns the number of child results of this results. |
long | getDuration()Returns the time spent by running the test (in milliseconds) |
long | getSinceStart()Returns the timestamp at which this result was created since the start of test |
String | getTestName()Returns the name of the test that pruduced this result |
String | getTestOutcome()Returns string representation of the ooutcome of this test (success, error, failure) |
String | getTimestamp()Returns the absolute timestamp at which the result was created |
void | removeResultListener(IResultListener l)Removes the given result listener |
void | setDuration(long duration)Sets the duration of this test |
void | setSinceStart(long sincestart)Sets the timestamp at which the test was started |
void | setTestName(String name)Sets the name of test that produced this result |
void | setTimestamp(String timestamp)Sets the time of creation of this result |
Enumeration | taskReferences()Returns an enumeration of task references (subresults) contained in this result |
| Method Detail |
public void addResultListener(IResultListener l)
public int countErrors()
public int countFailures()
public String getAssetReferenceId()
public int getChildTestResultCount()
public long getDuration()
public long getSinceStart()
public String getTestName()
public String getTestOutcome()
public String getTimestamp()
public void removeResultListener(IResultListener l)
public void setDuration(long duration)
public void setSinceStart(long sincestart)
public void setTestName(String name)
public void setTimestamp(String timestamp)
public Enumeration taskReferences()
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||