public final class PackageResult extends MetaTabulatedResult implements Comparable<PackageResult>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PackageResult that) |
TestResult |
findCorrespondingResult(String id)
Find the test result corresponding to the one identified by
id>
within this test result. |
Collection<ClassResult> |
getChildren()
Gets the child test result objects.
|
String |
getChildTitle() |
ClassResult |
getClassResult(String name) |
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.
|
List<CaseResult> |
getFailedTests()
Returns a list of the failed cases, in no particular
sort order
|
List<CaseResult> |
getFailedTestsSortedByAge()
Returns a list of the failed cases, sorted by age.
|
String |
getName()
Gets the name of this object.
|
TestResult |
getParent()
Reverse pointer of
TabulatedResult.getChildren(). |
int |
getPassCount()
Gets the total number of passed tests.
|
Collection<? extends TestResult> |
getPassedTests()
Gets the "children" of this test result that passed
|
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.
|
Collection<? extends TestResult> |
getSkippedTests()
Gets the "children" of this test result that were skipped
|
String |
getTitle()
Gets the human readable title of this result object.
|
boolean |
hasChildren()
Whether this test result has children.
|
boolean |
isPassed() |
void |
tally()
Recount my children
|
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getParentAction, getPreviousResult, getResultInRun, getStderr, getStdout, setParent, setParentAction, toPrettyStringdoSubmitDescription, getApi, getDescription, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getResultInBuild, getSearchUrl, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyNamegetOwnerpublic hudson.model.Run<?,?> getRun()
getRun in class TestObjectpublic TestResult getParent()
TestObjectTabulatedResult.getChildren().getParent in class TestObject@Exported(visibility=999) public String getName()
TestObjectgetName in class TestObjectpublic String getSafeName()
TestObjectTestObject.getName() that's URL-safe.getSafeName in class TestObjectpublic 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 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 Object getDynamic(String name, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class TestObjectpublic ClassResult getClassResult(String name)
@Exported(name="child") public Collection<ClassResult> getChildren()
TabulatedResultgetChildren in class TabulatedResultTestObject.getParent()public boolean hasChildren()
hasChildren in class TabulatedResultpublic List<CaseResult> getFailedTests()
getFailedTests in class MetaTabulatedResultpublic List<CaseResult> getFailedTestsSortedByAge()
public Collection<? extends TestResult> getPassedTests()
getPassedTests in class TestResultpublic Collection<? extends TestResult> getSkippedTests()
getSkippedTests in class TestResultpublic boolean isPassed()
isPassed in class TestResultpublic void tally()
tally in class TestResultpublic int compareTo(PackageResult that)
compareTo in interface Comparable<PackageResult>public String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectCopyright © 2004-2015. All Rights Reserved.