Class ResultData
java.lang.Object
org.jenkinsci.plugins.testresultsanalyzer.result.data.ResultData
- Direct Known Subclasses:
ClassResultData,PackageResultData,TestCaseResultData
-
Constructor Summary
ConstructorsModifierConstructorDescriptionResultData(hudson.tasks.test.TestObject result, String url) protectedResultData(String name, int totalTests, int totalFailed, int totalPassed, int totalSkipped, float duration, String url) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ResultData other) Adds the counts and duration of another result of the same package or class in the same build, for when it was reported more than once.protected voidgetName()hudson.tasks.test.TabulatedResultintintintintfloatgetUrl()booleanisConfig()voidmergedChild(ResultData first, ResultData second, ResultData merged) Corrects the counts of this parent result after two executions of one of its tests, which it counted separately, were merged into a single result.voidsetConfig(boolean config) voidvoidsetPackageResult(hudson.tasks.test.TabulatedResult packageResult) voidsetTotalFailed(int totalFailed) voidsetTotalPassed(int totalPassed) voidsetTotalSkipped(int totalSkipped) voidsetTotalTests(int totalTests) voidsetTotalTimeTaken(float totalTimeTaken) void
-
Constructor Details
-
ResultData
public ResultData() -
ResultData
-
ResultData
-
-
Method Details
-
getName
-
setName
-
isConfig
public boolean isConfig() -
setConfig
public void setConfig(boolean config) -
getPackageResult
public hudson.tasks.test.TabulatedResult getPackageResult() -
setPackageResult
public void setPackageResult(hudson.tasks.test.TabulatedResult packageResult) -
getTotalTests
public int getTotalTests() -
setTotalTests
public void setTotalTests(int totalTests) -
getTotalFailed
public int getTotalFailed() -
setTotalFailed
public void setTotalFailed(int totalFailed) -
getTotalPassed
public int getTotalPassed() -
setTotalPassed
public void setTotalPassed(int totalPassed) -
getTotalSkipped
public int getTotalSkipped() -
setTotalSkipped
public void setTotalSkipped(int totalSkipped) -
getTotalTimeTaken
public float getTotalTimeTaken() -
setTotalTimeTaken
public void setTotalTimeTaken(float totalTimeTaken) -
getUrl
-
setUrl
-
add
Adds the counts and duration of another result of the same package or class in the same build, for when it was reported more than once. -
mergedChild
Corrects the counts of this parent result after two executions of one of its tests, which it counted separately, were merged into a single result. The duration is left alone as the merged result sums them. -
evaluateStatus
protected void evaluateStatus() -
getStatus
-