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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionTestStatisticsPortlet(String name, boolean hideZeroTestProjects, String successColor, String failureColor, String skippedColor, boolean useBackgroundColors) -
Method Summary
Modifier and TypeMethodDescriptionformat(DecimalFormat df, double val) booleangetRowColor(TestResult testResult) getTotalRowColor(List<TestResult> testResults) booleanbooleanvoidsetFailureColor(String failureColor) voidsetSkippedColor(String skippedColor) voidsetSuccessColor(String successColor) voidsetUseAlternatePercentagesOnLimits(boolean useAlternatePercentagesOnLimits) voidsetUseBackgroundColors(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
-