Jetif v1.8.0

jetif.ext
Class ResultHolder

java.lang.Object
  extended byjetif.ext.ResultCollector
      extended byjetif.ext.ResultHolder
All Implemented Interfaces:
TestListener

Deprecated. Use the jetif.ext.ResultCollector instead.

public class ResultHolder
extends ResultCollector

This class ResultHolder represents a test listener which collect test result and store it in a SuiteResult object.

Author:
Vicky Wang
See Also:
ResultCollector

Field Summary
 
Fields inherited from class jetif.ext.ResultCollector
suiteResult
 
Fields inherited from interface jetif.TestListener
DUMMY_LISTENER
 
Constructor Summary
ResultHolder()
          Deprecated.  
 
Method Summary
 int failed()
          Deprecated. use the method in class SuiteResult instead.
 long getEndTime()
          Deprecated. use the method in class SuiteResult instead.
 String getName()
          Deprecated. use the method in class SuiteResult instead.
 Vector getResults()
          Deprecated. use the method in class SuiteResult instead.
 long getStartTime()
          Deprecated. use the method in class SuiteResult instead.
 int passed()
          Deprecated. use the method in class SuiteResult instead.
 int skipped()
          Deprecated. use the method in class SuiteResult instead.
 int total()
          Deprecated. use the method in class SuiteResult instead.
 
Methods inherited from class jetif.ext.ResultCollector
beginSuite, endCase, endSuite, getResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultHolder

public ResultHolder()
Deprecated. 
Method Detail

getName

public String getName()
Deprecated. use the method in class SuiteResult instead.

Returns the name of the suite.

Returns:
suite name.
See Also:
SuiteResult.getName()

getStartTime

public long getStartTime()
Deprecated. use the method in class SuiteResult instead.

Returns the start time of this suite.

Returns:
start time.
See Also:
SuiteResult.getStartTime()

getEndTime

public long getEndTime()
Deprecated. use the method in class SuiteResult instead.

Returns the end time of this suite.

Returns:
end time.
See Also:
SuiteResult.getEndTime()

getResults

public Vector getResults()
Deprecated. use the method in class SuiteResult instead.

Returns the results of test cases.

Returns:
results
See Also:
SuiteResult.getCaseResults()

total

public int total()
Deprecated. use the method in class SuiteResult instead.

Returns the total case number of this suite.

Returns:
total case number.
See Also:
SuiteResult.total()

passed

public int passed()
Deprecated. use the method in class SuiteResult instead.

Returns the passed case number of this suite.

Returns:
passed case number.
See Also:
SuiteResult.passed()

failed

public int failed()
Deprecated. use the method in class SuiteResult instead.

Returns the failed case number of this suite.

Returns:
failed case number.
See Also:
SuiteResult.failed()

skipped

public int skipped()
Deprecated. use the method in class SuiteResult instead.

Returns the skipped case number of this suite.

Returns:
skipped case number.
See Also:
SuiteResult.skipped()

Jetif v1.8.0

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