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
public class SurefireAggregatedReport
- extends AggregatedTestResultAction
- implements MavenAggregatedReport
MavenAggregatedReport
for surefire report.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class hudson.tasks.test.AbstractTestResultAction |
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getDisplayName, getFailureDiffString, getIconFileName, getPreviousResult, getTestResultPath, getUrlName, readResolve |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
update
public void update(Map<MavenModule,List<MavenBuild>> moduleBuilds,
MavenBuild newBuild)
- 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 interface MavenAggregatedReport
- Parameters:
moduleBuilds
- Same as MavenModuleSet.getModuleBuilds() but provided for convenience and efficiency.newBuild
- Newly completed build.
getIndividualActionType
public Class<SurefireReport> getIndividualActionType()
- Description copied from interface:
MavenAggregatedReport
- Returns the implementation class of
AggregatableAction
that
produces this MavenAggregatedReport
. Hudson uses this method
to determine which AggregatableAction
is aggregated to
which MavenAggregatedReport
.
- Specified by:
getIndividualActionType
in interface MavenAggregatedReport
getProjectAction
public Action getProjectAction(MavenModuleSet moduleSet)
- Description copied from interface:
MavenAggregatedReport
- Equivalent of
BuildStep.getProjectAction(AbstractProject)
for MavenAggregatedReport
.
- Specified by:
getProjectAction
in interface MavenAggregatedReport
getChildName
protected String getChildName(AbstractTestResultAction tr)
- Specified by:
getChildName
in class AggregatedTestResultAction
resolveChild
public MavenBuild resolveChild(AggregatedTestResultAction.Child child)
- Specified by:
resolveChild
in class AggregatedTestResultAction
getChildReport
public SurefireReport getChildReport(AggregatedTestResultAction.Child child)
- Description copied from class:
AggregatedTestResultAction
- Uses
AggregatedTestResultAction.resolveChild(Child)
and obtain the
AbstractTestResultAction
object for the given child.
- Overrides:
getChildReport
in class AggregatedTestResultAction
getTestResultPath
public String getTestResultPath(CaseResult it)
Copyright © 2004-2013. All Rights Reserved.