Jetif v1.8.0

jetif.ext
Class SuiteResult

java.lang.Object
  extended byjetif.ext.SuiteResult
All Implemented Interfaces:
Serializable, SuiteSummary

public class SuiteResult
extends Object
implements SuiteSummary, Serializable

This class SuiteResult represents a container of test result. It's used to contains the result of a suite. It's useful for some GUI front-end to collect the test result and show it in the GUI.

Author:
Vicky Wang
See Also:
Serialized Form

Method Summary
 int failed()
          Returns the failed case number of this suite.
 List getCaseResults()
          Returns the results of test cases.
 long getEndTime()
          Returns the end time of this suite.
 String getName()
          Returns the name of the suite.
 long getStartTime()
          Returns the start time of this suite.
 int passed()
          Returns the passed case number of this suite.
 int skipped()
          Returns the skipped case number of this suite.
 int total()
          Returns the total case number of this suite.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Returns the name of the suite.

Specified by:
getName in interface SuiteSummary
Returns:
suite name.

getStartTime

public long getStartTime()
Returns the start time of this suite.

Specified by:
getStartTime in interface SuiteSummary
Returns:
start time.

getEndTime

public long getEndTime()
Returns the end time of this suite.

Specified by:
getEndTime in interface SuiteSummary
Returns:
end time.

getCaseResults

public List getCaseResults()
Returns the results of test cases. The type of elements in returned list is jetif.CaseResult.

Returns:
case results in a list.

total

public int total()
Returns the total case number of this suite.

Specified by:
total in interface SuiteSummary
Returns:
total case number.

passed

public int passed()
Returns the passed case number of this suite.

Specified by:
passed in interface SuiteSummary
Returns:
passed case number.

failed

public int failed()
Returns the failed case number of this suite.

Specified by:
failed in interface SuiteSummary
Returns:
failed case number.

skipped

public int skipped()
Returns the skipped case number of this suite.

Specified by:
skipped in interface SuiteSummary
Returns:
skipped case number.

Jetif v1.8.0

Copyright © 2004,2005 Vicky Wang - All Rights Reserved.