|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
hudson.tasks.junit.ClassResult
public final class ClassResult
Cumulative test result of a test class.
| Method Summary | |
|---|---|
void |
add(CaseResult r)
|
int |
compareTo(ClassResult that)
|
TestResult |
findCorrespondingResult(String id)
Find the test result corresponding to the one identified by id>
withint 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 |
getFullName()
|
String |
getName()
Gets the name of this object. |
AbstractBuild<?,?> |
getOwner()
|
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. |
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. |
| Methods inherited from class hudson.tasks.test.TestResult |
|---|
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassedTests, getResultInBuild, getSkippedTests, getStderr, getStdout, isPassed, setParent, setParentAction, toPrettyString |
| Methods inherited from class hudson.tasks.test.TestObject |
|---|
doSubmitDescription, getApi, getDescription, getDurationString, getHistory, getId, 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 |
| Method Detail |
|---|
public AbstractBuild<?,?> getOwner()
getOwner 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>
withint this test result.
findCorrespondingResult in class TestObjectid - The path to the original test result
public String getTitle()
TestResult
getTitle in class TestResultpublic String getChildTitle()
getChildTitle in class TabulatedResult@Exported(visibility=999) public String getName()
TestObject
getName 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()
TabulatedResult
getChildren in class TabulatedResultTestObject.getParent()public boolean hasChildren()
hasChildren in class TabulatedResultpublic float getDuration()
TestResult
getDuration in class TestResult@Exported public int getPassCount()
TestResult
getPassCount in class TestResult@Exported public int getFailCount()
TestResult
getFailCount in class TestResult@Exported public int getSkipCount()
TestResult
getSkipCount 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 ModelObjectpublic String getFullName()
public String getRelativePathFrom(TestObject it)
getRelativePathFrom in class TestObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||