Class TestStatisticsPortlet
java.lang.Object
hudson.plugins.view.dashboard.DashboardPortlet
hudson.plugins.view.dashboard.test.TestStatisticsPortlet
- All Implemented Interfaces:
ExtensionPoint
,Describable<DashboardPortlet>
,ModelObject
Portlet that presents a grid of test result data with summation
- Author:
- Peter Hayes
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionTestStatisticsPortlet
(String name, boolean hideZeroTestProjects, String successColor, String failureColor, String skippedColor, boolean useBackgroundColors) -
Method Summary
Modifier and TypeMethodDescriptionformat
(DecimalFormat df, double val) boolean
getRowColor
(TestResult testResult) getTotalRowColor
(List<TestResult> testResults) boolean
boolean
void
setFailureColor
(String failureColor) void
setSkippedColor
(String skippedColor) void
setSuccessColor
(String successColor) void
setUseAlternatePercentagesOnLimits
(boolean useAlternatePercentagesOnLimits) void
setUseBackgroundColors
(boolean useBackgroundColors) Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
-
Constructor Details
-
TestStatisticsPortlet
-
-
Method Details
-
getTestResultSummary
-
getHideZeroTestProjects
public boolean getHideZeroTestProjects() -
format
-
isUseBackgroundColors
public boolean isUseBackgroundColors() -
getSuccessColor
-
getFailureColor
-
getSkippedColor
-
setUseAlternatePercentagesOnLimits
@DataBoundSetter public void setUseAlternatePercentagesOnLimits(boolean useAlternatePercentagesOnLimits) -
isUseAlternatePercentagesOnLimits
public boolean isUseAlternatePercentagesOnLimits() -
getRowColor
-
getTotalRowColor
-
setUseBackgroundColors
public void setUseBackgroundColors(boolean useBackgroundColors) -
setSkippedColor
-
setSuccessColor
-
setFailureColor
-