Completing the test result aggregation all the way up to the MavenModuleSet.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3021 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-04-11 06:29:18 +00:00
1 parent 9322ba235a
commit 3bdd625bf7
5 files changed
+10 -25

No files matched your search

@@ -107,11 +107,6 @@ public class MavenBuild extends AbstractBuild<MavenModule,MavenBuild> {
return true;
}
@Override
public AbstractTestResultAction getTestResultAction() {
return getAction(AbstractTestResultAction.class);
}
public void registerAsProjectAction(MavenReporter reporter) {
if(projectActionReporters==null)
projectActionReporters = new ArrayList<MavenReporter>();
@@ -53,12 +53,6 @@ public final class MavenModuleSetBuild extends AbstractBuild<MavenModuleSet,Mave
super(project, buildDir);
}
@Override
public AbstractTestResultAction getTestResultAction() {
// TODO
return null;
}
/**
* Displays the combined status of all modules.
*/
@@ -227,9 +227,10 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
/**
* Gets {@link AbstractTestResultAction} associated with this build if any.
* <p>
*/
public abstract AbstractTestResultAction getTestResultAction();
public AbstractTestResultAction getTestResultAction() {
return getAction(AbstractTestResultAction.class);
}
/**
* Invoked by {@link Executor} to performs a build.
@@ -37,11 +37,6 @@ public final class Build extends AbstractBuild<Project,Build> {
Build(Project project, File buildDir) throws IOException {
super(project,buildDir);
}
@Override
public AbstractTestResultAction getTestResultAction() {
return getAction(AbstractTestResultAction.class);
}
/**
* During the build this field remembers {@link Environment}s created by
@@ -5,13 +5,6 @@
<h1>Project ${it.name}</h1>
<t:editableDescription adminOnly="true"/>
<!-- floating box -->
<div style="float:right">
<j:forEach var="a" items="${it.actions}">
<st:include page="floatingBox.jelly" from="${a}" optional="true" />
</j:forEach>
</div>
<j:choose>
<j:when test="${empty(it.modules)}">
<j:choose>
@@ -39,6 +32,13 @@
</t:projectView>
</j:otherwise>
</j:choose>
<!-- floating box -->
<div style="float:right">
<j:forEach var="a" items="${it.actions}">
<st:include page="floatingBox.jelly" from="${a}" optional="true" />
</j:forEach>
</div>
</l:main-panel>
</l:layout>
</j:jelly>