|
||||||||||
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
TestObject
instead.
@ExportedBean public abstract class TestObject
Stub of base class for all test result objects. The real implementation of the TestObject is in hudson.tasks.test.TestObject. This class simply defines abstract methods so that legacy code will continue to compile.
Constructor Summary | |
---|---|
TestObject()
Deprecated. |
Method Summary | ||
---|---|---|
abstract Api |
getApi()
Deprecated. Exposes this object through the remote API. |
|
abstract String |
getDescription()
Deprecated. |
|
abstract float |
getDuration()
Deprecated. Time took to run this test. |
|
abstract String |
getDurationString()
Deprecated. Returns the string representation of the getDuration() , in a
human readable format. |
|
abstract int |
getFailCount()
Deprecated. Gets the total number of failed tests. |
|
abstract History |
getHistory()
Deprecated. |
|
abstract String |
getId()
Deprecated. |
|
abstract String |
getName()
Deprecated. Gets the name of this object. |
|
abstract AbstractBuild<?,?> |
getOwner()
Deprecated. |
|
abstract TestObject |
getParent()
Deprecated. |
|
abstract int |
getPassCount()
Deprecated. Gets the total number of passed tests. |
|
abstract TestObject |
getPreviousResult()
Deprecated. Gets the counter part of this TestObject in the previous run. |
|
abstract TestObject |
getResultInBuild(AbstractBuild<?,?> build)
Deprecated. |
|
abstract String |
getSafeName()
Deprecated. Gets the version of getName() that's URL-safe. |
|
abstract String |
getSearchUrl()
Deprecated. Returns the URL of this item relative to the parent SearchItem . |
|
abstract int |
getSkipCount()
Deprecated. Gets the total number of skipped tests. |
|
abstract
|
getTestAction(Class<T> klazz)
Deprecated. |
|
abstract List<TestAction> |
getTestActions()
Deprecated. |
|
abstract TestResult |
getTestResult()
Deprecated. |
|
abstract AbstractTestResultAction |
getTestResultAction()
Deprecated. |
|
abstract int |
getTotalCount()
Deprecated. Gets the total number of tests. |
|
abstract String |
getUrl()
Deprecated. Returns url relative to TestResult |
|
abstract void |
setDescription(String description)
Deprecated. |
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 |
Methods inherited from interface hudson.model.ModelObject |
---|
getDisplayName |
Constructor Detail |
---|
public TestObject()
Method Detail |
---|
public abstract AbstractBuild<?,?> getOwner()
public abstract TestObject getParent()
public abstract String getId()
public abstract String getUrl()
public abstract TestResult getTestResult()
public abstract AbstractTestResultAction getTestResultAction()
public abstract List<TestAction> getTestActions()
public abstract <T> T getTestAction(Class<T> klazz)
public abstract TestObject getPreviousResult()
TestObject
in the previous run.
public abstract TestObject getResultInBuild(AbstractBuild<?,?> build)
public abstract float getDuration()
public abstract String getDurationString()
getDuration()
, in a
human readable format.
public abstract String getDescription()
public abstract void setDescription(String description)
public abstract Api getApi()
public abstract String getName()
public abstract String getSafeName()
getName()
that's URL-safe.
public abstract String getSearchUrl()
SearchItem
SearchItem
.
getSearchUrl
in interface SearchItem
public abstract int getPassCount()
public abstract int getFailCount()
public abstract int getSkipCount()
public abstract int getTotalCount()
public abstract History getHistory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |