Package hudson.maven.reporters
Class SurefireAggregatedReport
java.lang.Object
hudson.tasks.test.AbstractTestResultAction
hudson.tasks.test.AggregatedTestResultAction
hudson.maven.reporters.SurefireAggregatedReport
- All Implemented Interfaces:
MavenAggregatedReport
,Action
,HealthReportingAction
,ModelObject
,RunAction2
public class SurefireAggregatedReport
extends hudson.tasks.test.AggregatedTestResultAction
implements MavenAggregatedReport
MavenAggregatedReport
for surefire report.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tasks.test.AggregatedTestResultAction
hudson.tasks.test.AggregatedTestResultAction.Child, hudson.tasks.test.AggregatedTestResultAction.ChildReport
Nested classes/interfaces inherited from class hudson.tasks.test.AbstractTestResultAction
hudson.tasks.test.AbstractTestResultAction.Summarizer
-
Field Summary
Fields inherited from class hudson.tasks.test.AggregatedTestResultAction
children
Fields inherited from class hudson.tasks.test.AbstractTestResultAction
owner, run
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getChildName
(hudson.tasks.test.AbstractTestResultAction tr) getChildReport
(hudson.tasks.test.AggregatedTestResultAction.Child child) Returns the implementation class ofAggregatableAction
that produces thisMavenAggregatedReport
.getProjectAction
(MavenModuleSet moduleSet) Equivalent ofBuildStep.getProjectAction(AbstractProject)
forMavenAggregatedReport
.getTestResultPath
(hudson.tasks.junit.CaseResult it) resolveChild
(hudson.tasks.test.AggregatedTestResultAction.Child child) void
update
(Map<MavenModule, List<MavenBuild>> moduleBuilds, MavenBuild newBuild) Called whenever a new module build is completed, to update the aggregated report.Methods inherited from class hudson.tasks.test.AggregatedTestResultAction
add, getChildReports, getDescription, getFailCount, getFailedTests, getResult, getSkipCount, getTotalCount, resolveRun, setDescription, update
Methods inherited from class hudson.tasks.test.AbstractTestResultAction
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDisplayName, getFailureDiffString, getHealthScaleFactor, getIconFileName, getPassedTests, getPreviousResult, getPreviousResult, getSkippedTests, getTestResultPath, getUrlName, onAttached, onLoad, readResolve
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
update
Description copied from interface:MavenAggregatedReport
Called whenever a new module build is completed, to update the aggregated report. When multiple builds complete simultaneously, Hudson serializes the execution of this method, so this method needs not be concurrency-safe.- Specified by:
update
in interfaceMavenAggregatedReport
- Parameters:
moduleBuilds
- Same asMavenModuleSetBuild.getModuleBuilds()
but provided for convenience and efficiency.newBuild
- Newly completed build.
-
getIndividualActionType
Description copied from interface:MavenAggregatedReport
Returns the implementation class ofAggregatableAction
that produces thisMavenAggregatedReport
. Hudson uses this method to determine whichAggregatableAction
is aggregated to whichMavenAggregatedReport
.- Specified by:
getIndividualActionType
in interfaceMavenAggregatedReport
-
getProjectAction
Description copied from interface:MavenAggregatedReport
Equivalent ofBuildStep.getProjectAction(AbstractProject)
forMavenAggregatedReport
.- Specified by:
getProjectAction
in interfaceMavenAggregatedReport
-
getChildName
- Specified by:
getChildName
in classhudson.tasks.test.AggregatedTestResultAction
-
resolveChild
- Overrides:
resolveChild
in classhudson.tasks.test.AggregatedTestResultAction
-
getChildReport
- Overrides:
getChildReport
in classhudson.tasks.test.AggregatedTestResultAction
-
getTestResultPath
-