com.googlecode.refit.jenkins
Class ReFitTestResult

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.tasks.junit.TestObject
          extended by hudson.tasks.test.TestObject
              extended by hudson.tasks.test.TestResult
                  extended by com.googlecode.refit.jenkins.ReFitTestResult
All Implemented Interfaces:
hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, Serializable

public class ReFitTestResult
extends hudson.tasks.test.TestResult

Fit test results (only the counts) for a given build. This is similar to Summary, but inherits from Hudson base classes.

TODO Not sure if we really need this. One point is that we strip all the individual test results from Summary, to avoid persisting the whole lot in build.xml. But do we really have to extend TestResult?

Author:
Harald Wellmann
See Also:
Serialized Form

Constructor Summary
ReFitTestResult(hudson.model.AbstractBuild<?,?> build, Summary summary)
           
 
Method Summary
 hudson.tasks.test.TestResult findCorrespondingResult(String id)
          Not used.
 String getDisplayName()
           
 int getFailCount()
           
 hudson.model.AbstractBuild<?,?> getOwner()
           
 hudson.tasks.test.TestObject getParent()
          Not used.
 int getPassCount()
           
 int getSkipCount()
           
 
Methods inherited from class hudson.tasks.test.TestResult
annotate, getBuildResult, getDuration, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassedTests, getPreviousResult, getResultInBuild, getSkippedTests, getStderr, getStdout, getTitle, isPassed, setParent, setParentAction, tally, toPrettyString
 
Methods inherited from class hudson.tasks.test.TestObject
doSubmitDescription, getApi, getDescription, getDurationString, getDynamic, getHistory, getId, getName, getRelativePathFrom, getSafeName, getSearchUrl, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyName
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReFitTestResult

public ReFitTestResult(hudson.model.AbstractBuild<?,?> build,
                       Summary summary)
Method Detail

getPassCount

public int getPassCount()
Overrides:
getPassCount in class hudson.tasks.test.TestResult

getFailCount

public int getFailCount()
Overrides:
getFailCount in class hudson.tasks.test.TestResult

getSkipCount

public int getSkipCount()
Overrides:
getSkipCount in class hudson.tasks.test.TestResult

getDisplayName

public String getDisplayName()

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()
Specified by:
getOwner in class hudson.tasks.test.TestObject

getParent

public hudson.tasks.test.TestObject getParent()
Not used.

Overrides:
getParent in class hudson.tasks.test.TestObject

findCorrespondingResult

public hudson.tasks.test.TestResult findCorrespondingResult(String id)
Not used.

Specified by:
findCorrespondingResult in class hudson.tasks.test.TestObject


Copyright © 2004-2011. All Rights Reserved.