net.sourceforge.groboutils.pmti.v1.autodoc.v1
Class ITFTestData
java.lang.Object
net.sourceforge.groboutils.autodoc.v1.testserver.DefaultTestData
net.sourceforge.groboutils.pmti.v1.autodoc.v1.ITFTestData
- All Implemented Interfaces:
- TestData
- public class ITFTestData
- extends DefaultTestData
An interface used to briefly describe a test and the gathered data associated
for the test in a particular framework. These should be created for
a framework through the TestDataFactory
class.
- Since:
- March 30, 2002
- Version:
- $Date: 2003/02/10 22:51:56 $
- Author:
- Matt Albrecht groboclown@users.sourceforge.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITFTestData
public ITFTestData(TestInfo info)
addIssueID
public void addIssueID(java.lang.String id)
- This may be called multiple times. Each time will add a new issue for
the corresponding test info. If id is null, then it
will be ignored. Likewise, any duplicate IDs passed in will be ignored.
- Parameters:
id
- the issue id to associate with this test.
addError
public void addError(java.lang.Throwable error)
addFailure
public void addFailure(junit.framework.AssertionFailedError failure)
addTest
public void addTest()
setStartTime
public void setStartTime(long startTime)
setEndTime
public void setEndTime(long endTime)
getIssues
public java.lang.String[] getIssues()
- Retrieves all issue IDs for this TestInfo object. This will never return
null, but may return an empty array.
getErrors
public java.lang.Throwable[] getErrors()
getFailures
public junit.framework.AssertionFailedError[] getFailures()
getSuccessCount
public int getSuccessCount()
getTestCount
public int getTestCount()
getRunTime
public long getRunTime()
Copyright © 2001-2003 by The GroboUtils Project