public final class ClassResult extends TabulatedResult implements Comparable<ClassResult>
| Modifier and Type | Method and Description |
|---|---|
void |
add(CaseResult r) |
int |
compareTo(ClassResult that) |
TestResult |
findCorrespondingResult(String id)
Find the test result corresponding to the one identified by
id>
within this test result. |
CaseResult |
getCaseResult(String name) |
List<CaseResult> |
getChildren()
Gets the child test result objects.
|
String |
getChildTitle() |
String |
getClassName() |
String |
getDisplayName() |
float |
getDuration()
Time it took to run this test.
|
Object |
getDynamic(String name,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
int |
getFailCount()
Gets the total number of failed tests.
|
String |
getFullDisplayName() |
String |
getFullName()
Gets the full name of this object.
|
String |
getName()
Gets the name of this object.
|
PackageResult |
getParent()
Reverse pointer of
TabulatedResult.getChildren(). |
int |
getPassCount()
Gets the total number of passed tests.
|
ClassResult |
getPreviousResult()
Gets the counter part of this
TestResult in the previous run. |
String |
getRelativePathFrom(TestObject it)
Gets the relative path to this test case from the given object.
|
hudson.model.Run<?,?> |
getRun() |
String |
getSafeName()
Gets the version of
TestObject.getName() that's URL-safe. |
int |
getSkipCount()
Gets the total number of skipped tests.
|
String |
getTitle()
Gets the human readable title of this result object.
|
boolean |
hasChildren() |
void |
tally()
Recount my children.
|
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassedTests, getResultInRun, getSkippedTests, getStderr, getStdout, isPassed, setParent, setParentAction, toPrettyStringdoSubmitDescription, getApi, getDescription, getDurationString, getHistory, getId, getResultInBuild, getSearchUrl, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyNamegetOwnerpublic hudson.model.Run<?,?> getRun()
getRun in class TestObjectpublic PackageResult getParent()
TestObjectTabulatedResult.getChildren().getParent in class TestObjectpublic ClassResult getPreviousResult()
TestResultTestResult in the previous run.getPreviousResult in class TestResultpublic TestResult findCorrespondingResult(String id)
TestObjectid>
within this test result.findCorrespondingResult in class TestObjectid - The path to the original test resultpublic String getTitle()
TestResultgetTitle in class TestResultpublic String getChildTitle()
getChildTitle in class TabulatedResult@Exported(visibility=999) public String getName()
TestObjectgetName in class TestObjectpublic String getSafeName()
TestObjectTestObject.getName() that's URL-safe.getSafeName in class TestObjectpublic CaseResult getCaseResult(String name)
public Object getDynamic(String name, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class TestObject@Exported(name="child") public List<CaseResult> getChildren()
TabulatedResultgetChildren in class TabulatedResultTestObject.getParent()public boolean hasChildren()
hasChildren in class TabulatedResultpublic float getDuration()
TestResultgetDuration in class TestResult@Exported public int getPassCount()
TestResultgetPassCount in class TestResult@Exported public int getFailCount()
TestResultgetFailCount in class TestResult@Exported public int getSkipCount()
TestResultgetSkipCount in class TestResultpublic void add(CaseResult r)
public void tally()
tally in class TestResultpublic String getClassName()
public int compareTo(ClassResult that)
compareTo in interface Comparable<ClassResult>public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectpublic String getFullName()
TestObjectgetFullName in class TestObjectpublic String getFullDisplayName()
getFullDisplayName in class TestObjectpublic String getRelativePathFrom(TestObject it)
getRelativePathFrom in class TestObjectCopyright © 2004-2015. All Rights Reserved.