hudson.plugins.testng.results
Class PackageResult
java.lang.Object
hudson.plugins.testng.results.BaseResult
hudson.plugins.testng.results.PackageResult
- All Implemented Interfaces:
- hudson.model.ModelObject, Serializable
public class PackageResult
- extends BaseResult
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_EXEC_MTHD_LIST_SIZE
public final int MAX_EXEC_MTHD_LIST_SIZE
- See Also:
- Constant Field Values
PackageResult
public PackageResult(String name)
setOwner
public void setOwner(hudson.model.AbstractBuild<?,?> owner)
- Overrides:
setOwner
in class BaseResult
getClassList
@Exported(name="classs")
public List<ClassResult> getClassList()
getDuration
@Exported
public long getDuration()
getFail
@Exported(visibility=9)
public int getFail()
getSkip
@Exported(visibility=9)
public int getSkip()
getTotal
@Exported(visibility=9)
public int getTotal()
getAge
public long getAge()
- Gets the age of a result
- Returns:
- the number of consecutive builds for which we have a result for
this package
getSortedTestMethodsByStartTime
public List<MethodResult> getSortedTestMethodsByStartTime()
- Gets all the method results related to this package sorted by the time
the methods were executed
- Returns:
getAllSortedTestMethodsByStartTime
@JavaScriptMethod
public String getAllSortedTestMethodsByStartTime()
- Gets table row representation for all the method results associated with
this package (sorted based on start time)
- Returns:
getFirstXSortedTestMethodsByStartTime
@JavaScriptMethod
public String getFirstXSortedTestMethodsByStartTime()
- Gets table row representation for the first
MAX_EXEC_MTHD_LIST_SIZE
method results associated with this package (sorted based on start time)
- Returns:
tally
public void tally()
getDynamic
public Object getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
sortTestMethods
public void sortTestMethods()
- Sorts the test method results associated with this package based on the
start time for method execution
getFailedTestsDiffCount
public long getFailedTestsDiffCount()
getTotalTestsDiffCount
public long getTotalTestsDiffCount()
getSkippedTestsDiffCount
public long getSkippedTestsDiffCount()
Copyright © 2004-2012. All Rights Reserved.