Skip to content
Permalink
Browse files

[JENKINS-35266] Fix reset of Hide prjects with no tests in the test p…

…ortlet
  • Loading branch information...
evandy0 committed Jun 2, 2016
1 parent 5ba8abe commit be9f6e0872b9a249a368d8e9dd96999ae0e9bea6
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/hudson/plugins/view/dashboard/test/TestStatisticsPortlet.java
@@ -39,6 +39,10 @@ public TestStatisticsPortlet(String name, final boolean hideZeroTestProjects, St
public TestResultSummary getTestResultSummary(Collection<TopLevelItem> jobs) {
return TestUtil.getTestResultSummary(jobs, hideZeroTestProjects);
}

public boolean getHideZeroTestProjects() {
return this.hideZeroTestProjects;
}

public String format(DecimalFormat df, double val) {
if (val < 1d && val > .99d) {

0 comments on commit be9f6e0

Please sign in to comment.
You can’t perform that action at this time.