com.togethersoft.testing.shared
Interface IResultDetail


public interface IResultDetail

Provides interface for result description - error or failure


Field Summary
 final static intERROR
           
 final static intFAILURE
           
 final static intMESSAGE
           
 final static intMETRIC
           

Method Summary
 CommentgetComment()
          Returns the comment for this result detail
 longgetDuration()
          Returns the duration of this result detail
 longgetSinceStart()
          Returns the time since start this detauil was created
 StackTracegetStacktrace()
          Returns the stacktrace of this result detail
 StdErrgetStderr()
          Returns the standard error stream of this detail
 StdOutgetStdout()
          Returns the standard output stream of this detail
 StringgetTestName()
          Returns the test name
 intgetType()
          Returns the type of this detail
 StringgetUrl()
          Returns the URL of this detail
 voidsetDuration(long duration)
          Returns the duration of this detail
 voidsetSinceStart(long sincestart)
          Returns the time since start for this detail

Field Detail

ERROR

public final static int ERROR

FAILURE

public final static int FAILURE

MESSAGE

public final static int MESSAGE

METRIC

public final static int METRIC
Method Detail

getComment

public Comment getComment()
Returns the comment for this result detail

getDuration

public long getDuration()
Returns the duration of this result detail

getSinceStart

public long getSinceStart()
Returns the time since start this detauil was created

getStacktrace

public StackTrace getStacktrace()
Returns the stacktrace of this result detail

getStderr

public StdErr getStderr()
Returns the standard error stream of this detail

getStdout

public StdOut getStdout()
Returns the standard output stream of this detail

getTestName

public String getTestName()
Returns the test name

getType

public int getType()
Returns the type of this detail

getUrl

public String getUrl()
Returns the URL of this detail

setDuration

public void setDuration(long duration)
Returns the duration of this detail

setSinceStart

public void setSinceStart(long sincestart)
Returns the time since start for this detail