public class AppThwackTestResult
extends hudson.tasks.test.TestResult
| Constructor and Description |
|---|
AppThwackTestResult(hudson.model.AbstractBuild<?,?> build,
com.appthwack.appthwack.AppThwackRun run,
com.appthwack.appthwack.AppThwackResult result) |
| Modifier and Type | Method and Description |
|---|---|
void |
doCpuGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the average CPU usage for all devices in a test run, for the previous three Jenkins runs.
|
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 |
doFpsGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the average frames per second of all devices in a test run, for the previous three Jenkins runs.
|
void |
doFrameDrawGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the average frame draw times for all devices 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.
|
void |
doMemoryGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the average memory usage (KB) used for all devices in a test run, for the previous three Jenkins runs.
|
void |
doThreadGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the average number of threads used for all devices in a test run, for the previous three Jenkins runs.
|
hudson.tasks.test.TestResult |
findCorrespondingResult(String id)
Returns the AppThwack test result for the given id.
|
hudson.model.Result |
getBuildResult()
Return a Jenkins build result which matches the result status from AppThwack.
|
float |
getCpuAvg() |
String |
getDisplayName() |
float |
getDrawTimeAvg() |
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.
|
List<com.appthwack.appthwack.AppThwackResult.ResultContainer> |
getFailByDevice()
Return list of test failures group by device.
|
int |
getFailCount()
Return number of test failures in this result.
|
float |
getFpsAvg() |
float |
getMemoryAvg() |
String |
getName() |
hudson.model.AbstractBuild<?,?> |
getOwner() |
hudson.tasks.test.TestObject |
getParent() |
List<com.appthwack.appthwack.AppThwackResult.ResultContainer> |
getPassByDevice()
Return list of test passes grouped by device.
|
int |
getPassCount()
Return number of test passes in this result.
|
AppThwackTestResult |
getPreviousResult()
Return the AppThwack result of the most recent build which contained an AppThwack run.
|
protected List<AppThwackTestResult> |
getPreviousResults()
Return a list of all AppThwack results from all builds previous to the build that this result is tied to.
|
protected List<AppThwackTestResult> |
getPreviousResults(int n)
Return a list of up to (n) of the most recent/previous AppThwack results.
|
String |
getProject() |
String |
getReportUrl() |
int |
getRunId() |
String |
getSearchUrl() |
String |
getStatus() |
float |
getThreadAvg() |
int |
getTotalCount()
Return total number of tests run in this result.
|
List<com.appthwack.appthwack.AppThwackResult.ResultContainer> |
getWarnByDevice()
Return list of test warnings grouped by device.
|
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, getSkipCount, 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 AppThwackTestResult(hudson.model.AbstractBuild<?,?> build,
com.appthwack.appthwack.AppThwackRun run,
com.appthwack.appthwack.AppThwackResult result)
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 void doCpuGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic void doMemoryGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic void doThreadGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic void doFrameDrawGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic void doFpsGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws IOException
request - response - IOExceptionpublic AppThwackTestResult getPreviousResult()
getPreviousResult in class hudson.tasks.test.TestResultprotected List<AppThwackTestResult> getPreviousResults(int n)
n - protected List<AppThwackTestResult> getPreviousResults()
public float getCpuAvg()
public float getMemoryAvg()
public float getThreadAvg()
public float getDrawTimeAvg()
public float getFpsAvg()
public String getReportUrl()
public int getRunId()
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 List<com.appthwack.appthwack.AppThwackResult.ResultContainer> getPassByDevice()
public List<com.appthwack.appthwack.AppThwackResult.ResultContainer> getWarnByDevice()
public List<com.appthwack.appthwack.AppThwackResult.ResultContainer> getFailByDevice()
public int getWarnCount()
public int getErrorCount()
public int getFailCount()
getFailCount in class hudson.tasks.test.TestResultpublic int getPassCount()
getPassCount 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-2014. All Rights Reserved.