From 2472b1d8fc306e02c2470ea2185da43776aa1ec5 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sun, 17 Dec 2006 06:20:55 +0000 Subject: [PATCH] fixed #174. also improved the test result summary display. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1358 71c3de6d-444a-0410-be80-ed276b4c234a --- .../tasks/test/AbstractTestResultAction.java | 14 ++++++++++++++ .../main/resources/hudson/model/Build/index.jelly | 7 +++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/tasks/test/AbstractTestResultAction.java b/core/src/main/java/hudson/tasks/test/AbstractTestResultAction.java index 13473a7e67..1dc14be525 100644 --- a/core/src/main/java/hudson/tasks/test/AbstractTestResultAction.java +++ b/core/src/main/java/hudson/tasks/test/AbstractTestResultAction.java @@ -8,6 +8,7 @@ import hudson.util.ChartUtil; import hudson.util.DataSetBuilder; import hudson.util.ShiftedCategoryAxis; import hudson.util.ColorPalette; +import hudson.Functions; import org.jfree.chart.ChartFactory; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.CategoryAxis; @@ -51,6 +52,16 @@ public abstract class AbstractTestResultAction Latest Test Result + + (no tests) + (no failures) - (1 failure) + (1 failure ${tr.failureDiffString}) - (${tr.failCount} failures) + (${tr.failCount} failures ${tr.failureDiffString}) -- GitLab