public class AWSDeviceFarmTestResult
extends hudson.tasks.test.TestResult
| Constructor and Description |
|---|
AWSDeviceFarmTestResult(hudson.model.AbstractBuild<?,?> build,
com.amazonaws.services.devicefarm.model.Run run) |
| Modifier and Type | Method and Description |
|---|---|
void |
doDurationGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the number of device minutes used in a test run, for the previous three Jenkins runs.
|
void |
doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the number of pass/warn/fail results in a test run, for the previous three Jenkins runs.
|
hudson.tasks.test.TestResult |
findCorrespondingResult(String id)
Returns the AWS Device Farm test result for the given id.
|
String |
getBuildNumber() |
hudson.model.Result |
getBuildResult()
Return a Jenkins build result which matches the result status from AWS Device Farm.
|
String |
getDisplayName() |
float |
getDuration()
Return total number of device minutes used by the run which generated this result.
|
int |
getErrorCount()
Return number of test errors in this result.
|
int |
getFailCount()
Return number of test failures in this result.
|
String |
getName() |
hudson.model.AbstractBuild<?,?> |
getOwner() |
hudson.tasks.test.TestObject |
getParent() |
int |
getPassCount()
Return number of test passes in this result.
|
AWSDeviceFarmTestResult |
getPreviousResult()
Return the AWS Device Farm result of the most recent build which contained an AWS Device Farm run.
|
protected List<AWSDeviceFarmTestResult> |
getPreviousResults()
Return a list of all AWS Device Farm results from all builds previous to the build that this result is tied to.
|
protected List<AWSDeviceFarmTestResult> |
getPreviousResults(int n)
Return a list of up to (n) of the most recent/previous AWS Device Farm results.
|
String |
getProject() |
String |
getReportUrl() |
String |
getRunId() |
String |
getSearchUrl() |
int |
getSkipCount()
Return number of test errors in this result.
|
String |
getStatus() |
int |
getStopCount()
Return number of test errors in this result.
|
int |
getTotalCount()
Return total number of tests run in this result.
|
int |
getWarnCount()
Return number of test warnings in this result.
|
Boolean |
isCompleted()
Return true if this result is "completed".
|
Boolean |
isEmpty()
Return true if there are no tests for this result, false otherwise.
|
annotate, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassedTests, getResultInBuild, getSkippedTests, getStderr, getStdout, getTitle, isPassed, setParent, setParentAction, tally, toPrettyStringdoSubmitDescription, getApi, getDescription, getDurationString, getDynamic, getHistory, getId, getRelativePathFrom, getSafeName, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getUrl, safe, setDescription, uniquifyNamepublic AWSDeviceFarmTestResult(hudson.model.AbstractBuild<?,?> build,
com.amazonaws.services.devicefarm.model.Run run)
public void doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic void doDurationGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic AWSDeviceFarmTestResult getPreviousResult()
getPreviousResult in class hudson.tasks.test.TestResultprotected List<AWSDeviceFarmTestResult> getPreviousResults(int n)
n - protected List<AWSDeviceFarmTestResult> getPreviousResults()
public String getReportUrl()
public String getRunId()
public String getBuildNumber()
public String getStatus()
public String getProject()
public Boolean isCompleted()
public hudson.model.Result getBuildResult()
getBuildResult in class hudson.tasks.test.TestResultpublic hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult in class hudson.tasks.test.TestObjectid - public int getPassCount()
getPassCount in class hudson.tasks.test.TestResultpublic int getWarnCount()
public int getFailCount()
getFailCount in class hudson.tasks.test.TestResultpublic int getStopCount()
public int getErrorCount()
public int getSkipCount()
getSkipCount in class hudson.tasks.test.TestResultpublic int getTotalCount()
getTotalCount in class hudson.tasks.test.TestObjectpublic float getDuration()
getDuration in class hudson.tasks.test.TestResultpublic Boolean isEmpty()
public hudson.tasks.test.TestObject getParent()
getParent in class hudson.tasks.test.TestObjectpublic hudson.model.AbstractBuild<?,?> getOwner()
getOwner in class hudson.tasks.test.TestObjectpublic String getDisplayName()
public String getName()
getName in class hudson.tasks.test.TestObjectpublic String getSearchUrl()
getSearchUrl in interface hudson.search.SearchItemgetSearchUrl in class hudson.tasks.test.TestObjectCopyright © 2004-2015. All Rights Reserved.