com.cwctravel.hudson.plugins.suitegroupedtests.junit
Class ClassResult
java.lang.Object
hudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
com.cwctravel.hudson.plugins.suitegroupedtests.junit.ClassResult
- All Implemented Interfaces:
- hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, java.io.Serializable, java.lang.Comparable<ClassResult>
public final class ClassResult
- extends hudson.tasks.test.TabulatedResult
- implements java.lang.Comparable<ClassResult>
Cumulative test result of a test class.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
Methods inherited from class hudson.tasks.test.TestResult |
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getParentAction, getResultInBuild, getStderr, getStdout, isPassed, setParent, setParentAction, tally, toPrettyString |
Methods inherited from class hudson.tasks.test.TestObject |
doSubmitDescription, getApi, getDescription, getDurationString, getId, getSearchUrl, getTestAction, getTestResult, 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 |
ClassResult
public ClassResult(hudson.tasks.test.TestObject parent,
JUnitSummaryInfo summary)
getOwner
public hudson.model.AbstractBuild<?,?> getOwner()
- Specified by:
getOwner
in class hudson.tasks.test.TestObject
getParent
public hudson.tasks.test.TestObject getParent()
- Overrides:
getParent
in class hudson.tasks.test.TestObject
getTestActions
public java.util.List<hudson.tasks.junit.TestAction> getTestActions()
- Overrides:
getTestActions
in class hudson.tasks.test.TestObject
getTestResultAction
public SuiteGroupResultAction getTestResultAction()
- Overrides:
getTestResultAction
in class hudson.tasks.test.TestObject
getPreviousResult
public ClassResult getPreviousResult()
- Overrides:
getPreviousResult
in class hudson.tasks.test.TestResult
findCorrespondingResult
public hudson.tasks.test.TestResult findCorrespondingResult(java.lang.String id)
- Specified by:
findCorrespondingResult
in class hudson.tasks.test.TestObject
getTitle
public java.lang.String getTitle()
- Overrides:
getTitle
in class hudson.tasks.test.TestResult
getChildTitle
public java.lang.String getChildTitle()
- Overrides:
getChildTitle
in class hudson.tasks.test.TabulatedResult
getName
@Exported(visibility=999)
public java.lang.String getName()
- Overrides:
getName
in class hudson.tasks.test.TestObject
getSafeName
public java.lang.String getSafeName()
- Overrides:
getSafeName
in class hudson.tasks.test.TestObject
getCaseResult
public CaseResult getCaseResult(java.lang.String name)
getDynamic
public java.lang.Object getDynamic(java.lang.String name,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
- Overrides:
getDynamic
in class hudson.tasks.test.TestObject
getFailedTests
public java.util.List<CaseResult> getFailedTests()
- Overrides:
getFailedTests
in class hudson.tasks.test.TestResult
getSkippedTests
public java.util.List<CaseResult> getSkippedTests()
- Overrides:
getSkippedTests
in class hudson.tasks.test.TestResult
getPassedTests
public java.util.List<CaseResult> getPassedTests()
- Overrides:
getPassedTests
in class hudson.tasks.test.TestResult
getChildren
@Exported(name="child")
public java.util.List<CaseResult> getChildren()
- Specified by:
getChildren
in class hudson.tasks.test.TabulatedResult
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren
in class hudson.tasks.test.TabulatedResult
getDuration
public float getDuration()
- Overrides:
getDuration
in class hudson.tasks.test.TestResult
getPassCount
@Exported
public int getPassCount()
- Overrides:
getPassCount
in class hudson.tasks.test.TestResult
getFailCount
@Exported
public int getFailCount()
- Overrides:
getFailCount
in class hudson.tasks.test.TestResult
getSkipCount
@Exported
public int getSkipCount()
- Overrides:
getSkipCount
in class hudson.tasks.test.TestResult
getPassDiff
public int getPassDiff()
getSkipDiff
public int getSkipDiff()
getFailDiff
public int getFailDiff()
getTotalDiff
public int getTotalDiff()
getMetrics
public JUnitMetricsInfo getMetrics()
getFailedSince
public int getFailedSince()
- Overrides:
getFailedSince
in class hudson.tasks.test.TestResult
getFailedSinceRun
public hudson.model.Run<?,?> getFailedSinceRun()
- Overrides:
getFailedSinceRun
in class hudson.tasks.test.TestResult
getClassName
public java.lang.String getClassName()
compareTo
public int compareTo(ClassResult that)
- Specified by:
compareTo
in interface java.lang.Comparable<ClassResult>
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interface hudson.model.ModelObject
getFullName
public java.lang.String getFullName()
getRelativePathFrom
public java.lang.String getRelativePathFrom(hudson.tasks.test.TestObject it)
- Gets the relative path to this test case from the given object.
- Overrides:
getRelativePathFrom
in class hudson.tasks.test.TestObject
getRootUrl
public java.lang.String getRootUrl(java.lang.String urlName)
getRootUrl
public java.lang.String getRootUrl(hudson.tasks.junit.TestAction testAction)
getHistory
public hudson.tasks.junit.History getHistory()
- Overrides:
getHistory
in class hudson.tasks.test.TestObject
Copyright © 2004-2012. All Rights Reserved.