A B C D E F G H I M N P R S T U 
All Classes All Packages

A

addClassList(List<ClassResult>) - Method in class hudson.plugins.testng.results.TestNGTestResult
Adds only the classes that already aren't part of the list
addConfigurationMethod(MethodResult) - Method in class hudson.plugins.testng.results.GroupedTestRun
 
addTestMethod(MethodResult) - Method in class hudson.plugins.testng.results.GroupedTestRun
 
addTestMethods(List<MethodResult>) - Method in class hudson.plugins.testng.results.ClassResult
 
addUniqueTests(List<TestNGTestResult>) - Method in class hudson.plugins.testng.results.TestNGResult
Adds only the <test>s that already aren't part of the list.

B

BaseResult - Class in hudson.plugins.testng.results
Base class that takes care of all the common functionality of the different kinds of test results.
BaseResult(String) - Constructor for class hudson.plugins.testng.results.BaseResult
 

C

ClassResult - Class in hudson.plugins.testng.results
Handle results related to a single test class
ClassResult(String, String) - Constructor for class hudson.plugins.testng.results.ClassResult
 
createChart(StaplerRequest, CategoryDataset) - Static method in class hudson.plugins.testng.util.GraphHelper
 
createMethodChart(StaplerRequest, CategoryDataset, Map<ChartUtil.NumberOnlyBuildLabel, String>, String) - Static method in class hudson.plugins.testng.util.GraphHelper
Creates the graph displayed on Method results page to compare execution duration and status of a test method across builds.

D

DATE_FORMAT - Static variable in class hudson.plugins.testng.parser.ResultsParser
 
DESCRIPTOR - Static variable in class hudson.plugins.testng.Publisher
 
DISPLAY_NAME - Static variable in class hudson.plugins.testng.PluginImpl
 
doCheckFailedFails(String) - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
 
doCheckFailedSkips(String) - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
 
doCheckUnstableFails(String) - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
 
doCheckUnstableSkips(String) - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
 
doGraph(StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.results.MethodResult
Creates test method execution history graph.
doGraph(StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.TestNGProjectAction
Generates the graph that shows test pass/fail ratio
doGraphMap(StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.results.MethodResult
Creates map to make the graph click-able
doGraphMap(StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.TestNGProjectAction
 

E

equals(Object) - Method in class hudson.plugins.testng.results.TestNGResult
 
escapeJS(String) - Static method in class hudson.plugins.testng.util.FormatUtil
 
escapeString(String) - Static method in class hudson.plugins.testng.util.FormatUtil
Replaces newline characters in string with <br/> to retain the newlines when the string is displayed in HTML.

F

failCount - Variable in class hudson.plugins.testng.TestNGTestResultBuildAction
 
findCorrespondingResult(String) - Method in class hudson.plugins.testng.results.BaseResult
 
findCorrespondingResult(String) - Method in class hudson.plugins.testng.results.MethodResult
 
formatLong(long) - Static method in class hudson.plugins.testng.util.FormatUtil
Formats a long value and prepends it with a - or + This functions is used for showing the diff values for test runs
formatStackTraceForHTML(String) - Static method in class hudson.plugins.testng.util.FormatUtil
Formats the stack trace for easier readability
formatTime(float) - Static method in class hudson.plugins.testng.util.FormatUtil
Formats the time into a human readable format
FormatUtil - Class in hudson.plugins.testng.util
These methods are used to format strings in jelly files

G

getAge() - Method in class hudson.plugins.testng.results.BaseResult
Gets the age of a result
getAllSortedTestMethodsByStartTime() - Method in class hudson.plugins.testng.results.PackageResult
Gets table row representation for all the method results associated with this package (sorted based on start time)
getApi() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getBuildActionClass() - Method in class hudson.plugins.testng.TestNGProjectAction
 
getCanonicalName() - Method in class hudson.plugins.testng.results.ClassResult
 
getChildren() - Method in class hudson.plugins.testng.results.ClassResult
 
getChildren() - Method in class hudson.plugins.testng.results.MethodResult
 
getChildren() - Method in class hudson.plugins.testng.results.PackageResult
 
getChildren() - Method in class hudson.plugins.testng.results.TestNGResult
 
getClassList() - Method in class hudson.plugins.testng.results.TestNGTestResult
 
getClassName() - Method in class hudson.plugins.testng.results.MethodResult
Added only to expose class name as part of method result via .../api/xxx
getConfigurationMethods() - Method in class hudson.plugins.testng.results.ClassResult
 
getConfigurationMethods() - Method in class hudson.plugins.testng.results.GroupedTestRun
 
getCssClass() - Method in class hudson.plugins.testng.results.MethodResult
Used to give different color based on test status
getDescription() - Method in class hudson.plugins.testng.results.MethodResult
 
getDescriptor() - Method in class hudson.plugins.testng.Publisher
getDisplayName() - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
getDisplayName() - Method in class hudson.plugins.testng.results.BaseResult
 
getDisplayName() - Method in class hudson.plugins.testng.results.TestNGResult
 
getDisplayName() - Method in class hudson.plugins.testng.TestNGProjectAction
getDisplayName() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
getDuration() - Method in class hudson.plugins.testng.results.ClassResult
 
getDuration() - Method in class hudson.plugins.testng.results.MethodResult
Can't change this to return seconds as expected by TestObject because it has already been exported
getDuration() - Method in class hudson.plugins.testng.results.PackageResult
Can't change this to return seconds as expected by TestObject because it has already been exported
getDuration() - Method in class hudson.plugins.testng.results.TestNGResult
 
getDynamic(String, StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.results.BaseResult
 
getDynamic(String, StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.results.ClassResult
 
getDynamic(String, StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.results.PackageResult
getDynamic(String, StaplerRequest, StaplerResponse) - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getEndTime() - Method in class hudson.plugins.testng.results.ClassResult
 
getEndTime() - Method in class hudson.plugins.testng.results.MethodResult
 
getEndTime() - Method in class hudson.plugins.testng.results.PackageResult
 
getErrorDetails() - Method in class hudson.plugins.testng.results.MethodResult
If there was an error or a failure, this is the text from the message.
getErrorStackTrace() - Method in class hudson.plugins.testng.results.MethodResult
Added only to expose possible exception via .../api/xxx
getEscapeExceptionMsg() - Method in class hudson.plugins.testng.Publisher
 
getEscapeExceptionMsg() - Method in class hudson.plugins.testng.TestNGProjectAction
 
getEscapeTestDescp() - Method in class hudson.plugins.testng.Publisher
 
getEscapeTestDescp() - Method in class hudson.plugins.testng.TestNGProjectAction
 
getException() - Method in class hudson.plugins.testng.results.MethodResult
 
getExceptionName() - Method in class hudson.plugins.testng.results.MethodResultException
 
getFailCount() - Method in class hudson.plugins.testng.results.ClassResult
 
getFailCount() - Method in class hudson.plugins.testng.results.PackageResult
 
getFailCount() - Method in class hudson.plugins.testng.results.TestNGResult
Gets the total number of failed tests.
getFailCount() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getFailedConfigCount() - Method in class hudson.plugins.testng.results.TestNGResult
 
getFailedConfigs() - Method in class hudson.plugins.testng.results.TestNGResult
 
getFailedFails() - Method in class hudson.plugins.testng.Publisher
 
getFailedSkips() - Method in class hudson.plugins.testng.Publisher
 
getFailedTests() - Method in class hudson.plugins.testng.results.TestNGResult
 
getFailedTests() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getFailureOnFailedTestConfig() - Method in class hudson.plugins.testng.Publisher
 
getFirstXSortedTestMethodsByStartTime() - Method in class hudson.plugins.testng.results.PackageResult
Gets table row representation for the first PackageResult.MAX_EXEC_MTHD_LIST_SIZE method results associated with this package (sorted based on start time)
getGraphHeight() - Method in class hudson.plugins.testng.TestNGProjectAction
Getter for property 'graphHeight'.
getGraphName() - Method in class hudson.plugins.testng.TestNGProjectAction
Getter for property 'graphName'.
getGraphWidth() - Method in class hudson.plugins.testng.TestNGProjectAction
Getter for property 'graphWidth'.
getGroups() - Method in class hudson.plugins.testng.results.MethodResult
 
getIconFileName() - Method in class hudson.plugins.testng.TestNGProjectAction
getIconFileName() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
getLastCompletedBuildAction() - Method in class hudson.plugins.testng.TestNGProjectAction
 
getMessage() - Method in class hudson.plugins.testng.results.MethodResultException
 
getName() - Method in class hudson.plugins.testng.results.BaseResult
 
getName() - Method in class hudson.plugins.testng.results.TestNGResult
 
getName() - Method in class hudson.plugins.testng.results.TestNGTestResult
 
getPackageList() - Method in class hudson.plugins.testng.results.TestNGResult
 
getPackageMap() - Method in class hudson.plugins.testng.results.TestNGResult
 
getPackageNames() - Method in class hudson.plugins.testng.results.TestNGResult
 
getParameters() - Method in class hudson.plugins.testng.results.MethodResult
 
getParent() - Method in class hudson.plugins.testng.results.BaseResult
 
getParent() - Method in class hudson.plugins.testng.results.TestNGResult
 
getParentAction() - Method in class hudson.plugins.testng.results.BaseResult
 
getParentSuiteName() - Method in class hudson.plugins.testng.results.MethodResult
 
getParentTestName() - Method in class hudson.plugins.testng.results.MethodResult
 
getPassCount() - Method in class hudson.plugins.testng.results.ClassResult
 
getPassCount() - Method in class hudson.plugins.testng.results.PackageResult
 
getPassCount() - Method in class hudson.plugins.testng.results.TestNGResult
Gets the total number of passed tests.
getPassedTests() - Method in class hudson.plugins.testng.results.TestNGResult
 
getPkgName() - Method in class hudson.plugins.testng.results.ClassResult
 
getPreviousBuildTestResults(Run<?, ?>) - Static method in class hudson.plugins.testng.util.TestResultHistoryUtil
Gets the latest build before this one and returns it's test result.
getProject() - Method in class hudson.plugins.testng.TestNGProjectAction
Getter for property 'project'.
getProjectActions() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getReporterOutput() - Method in class hudson.plugins.testng.results.MethodResult
 
getReportFilenamePattern() - Method in class hudson.plugins.testng.Publisher
 
getRequiredMonitorService() - Method in class hudson.plugins.testng.Publisher
 
getResult() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getResult(Run) - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getRun() - Method in class hudson.plugins.testng.results.BaseResult
 
getSafeName() - Method in class hudson.plugins.testng.results.MethodResult
 
getSearchUrl() - Method in class hudson.plugins.testng.TestNGProjectAction
getShowFailedBuilds() - Method in class hudson.plugins.testng.Publisher
 
getSkipCount() - Method in class hudson.plugins.testng.results.ClassResult
 
getSkipCount() - Method in class hudson.plugins.testng.results.PackageResult
 
getSkipCount() - Method in class hudson.plugins.testng.results.TestNGResult
Gets the total number of skipped tests.
getSkipCount() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getSkippedConfigCount() - Method in class hudson.plugins.testng.results.TestNGResult
 
getSkippedConfigs() - Method in class hudson.plugins.testng.results.TestNGResult
 
getSkippedTests() - Method in class hudson.plugins.testng.results.TestNGResult
 
getSortedTestMethodsByStartTime() - Method in class hudson.plugins.testng.results.PackageResult
Gets all the method results related to this package sorted by the time the methods were executed
getStackTrace() - Method in class hudson.plugins.testng.results.MethodResultException
 
getStartedAt() - Method in class hudson.plugins.testng.results.MethodResult
 
getStartTime() - Method in class hudson.plugins.testng.results.ClassResult
 
getStartTime() - Method in class hudson.plugins.testng.results.MethodResult
 
getStartTime() - Method in class hudson.plugins.testng.results.PackageResult
 
getStatus() - Method in class hudson.plugins.testng.results.MethodResult
 
getSuiteName() - Method in class hudson.plugins.testng.results.GroupedTestRun
 
getTestList() - Method in class hudson.plugins.testng.results.TestNGResult
 
getTestMethods() - Method in class hudson.plugins.testng.results.ClassResult
 
getTestMethods() - Method in class hudson.plugins.testng.results.GroupedTestRun
 
getTestName() - Method in class hudson.plugins.testng.results.GroupedTestRun
 
getTestResultAction() - Method in class hudson.plugins.testng.results.BaseResult
Explicit override here to ensure that when we are building TestNG reports, we are only working with TestNG results (and not results from other test reporters).
getTestRunId() - Method in class hudson.plugins.testng.results.GroupedTestRun
 
getTestRunId() - Method in class hudson.plugins.testng.results.MethodResult
 
getTestRunMap() - Method in class hudson.plugins.testng.results.ClassResult
Called only from jelly file.
getThresholdMode() - Method in class hudson.plugins.testng.Publisher
 
getTitle() - Method in class hudson.plugins.testng.results.BaseResult
 
getTitle() - Method in class hudson.plugins.testng.results.TestNGResult
 
getTotalCount() - Method in class hudson.plugins.testng.results.ClassResult
 
getTotalCount() - Method in class hudson.plugins.testng.results.PackageResult
 
getTotalCount() - Method in class hudson.plugins.testng.results.TestNGResult
 
getTotalCount() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
 
getUnstableFails() - Method in class hudson.plugins.testng.Publisher
 
getUnstableSkips() - Method in class hudson.plugins.testng.Publisher
 
getUpUrl() - Method in class hudson.plugins.testng.results.BaseResult
 
getUpUrl() - Method in class hudson.plugins.testng.TestNGProjectAction
getUrlName() - Method in class hudson.plugins.testng.TestNGProjectAction
getUrlName() - Method in class hudson.plugins.testng.TestNGTestResultBuildAction
GRAPH_NAME - Static variable in class hudson.plugins.testng.PluginImpl
 
GraphHelper - Class in hudson.plugins.testng.util
Helper class for trend graph generation
GroupedTestRun - Class in hudson.plugins.testng.results
Class used for rendering Class Results
GroupedTestRun(String, String, String) - Constructor for class hudson.plugins.testng.results.GroupedTestRun
 

H

hasChildren() - Method in class hudson.plugins.testng.results.ClassResult
 
hasChildren() - Method in class hudson.plugins.testng.results.MethodResult
 
hasChildren() - Method in class hudson.plugins.testng.results.PackageResult
 
hasChildren() - Method in class hudson.plugins.testng.results.TestNGResult
 
hashCode() - Method in class hudson.plugins.testng.results.TestNGResult
 
hudson.plugins.testng - package hudson.plugins.testng
 
hudson.plugins.testng.parser - package hudson.plugins.testng.parser
 
hudson.plugins.testng.results - package hudson.plugins.testng.results
 
hudson.plugins.testng.util - package hudson.plugins.testng.util
 

I

ICON_FILE_NAME - Static variable in class hudson.plugins.testng.PluginImpl
 
isApplicable(Class<? extends AbstractProject>) - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
 
isConfig() - Method in class hudson.plugins.testng.results.MethodResult
 
isGraphActive() - Method in class hudson.plugins.testng.TestNGProjectAction
Returns true if there is a graph to plot.

M

MAX_EXEC_MTHD_LIST_SIZE - Static variable in class hudson.plugins.testng.results.PackageResult
 
MethodResult - Class in hudson.plugins.testng.results
Handles result pertaining to a single test method
MethodResult(String, String, String, String, long, String, String, String, String, String) - Constructor for class hudson.plugins.testng.results.MethodResult
 
MethodResultException - Class in hudson.plugins.testng.results
 
MethodResultException(String, String, String, String) - Constructor for class hudson.plugins.testng.results.MethodResultException
 
MORE_THAN_24HRS - Static variable in class hudson.plugins.testng.util.FormatUtil
 

N

name - Variable in class hudson.plugins.testng.results.BaseResult
 
newInstance(StaplerRequest, JSONObject) - Method in class hudson.plugins.testng.Publisher.DescriptorImpl
 
NO_PKG_NAME - Static variable in class hudson.plugins.testng.results.PackageResult
 

P

PackageResult - Class in hudson.plugins.testng.results
Handles package level results
PackageResult(String) - Constructor for class hudson.plugins.testng.results.PackageResult
 
parent - Variable in class hudson.plugins.testng.results.BaseResult
 
parse(FilePath[]) - Method in class hudson.plugins.testng.parser.ResultsParser
Parses the XML for relevant information
PARSER_FACTORY - Static variable in class hudson.plugins.testng.parser.ResultsParser
 
passCount - Variable in class hudson.plugins.testng.TestNGTestResultBuildAction
 
perform(Run<?, ?>, FilePath, Launcher, TaskListener) - Method in class hudson.plugins.testng.Publisher
PluginImpl - Class in hudson.plugins.testng
Entry point of TestNG Results plugin.
PluginImpl() - Constructor for class hudson.plugins.testng.PluginImpl
 
populateDataSetBuilder(DataSetBuilder<String, ChartUtil.NumberOnlyBuildLabel>) - Method in class hudson.plugins.testng.TestNGProjectAction
 
Publisher - Class in hudson.plugins.testng
This class defines a @Publisher and @Extension
Publisher() - Constructor for class hudson.plugins.testng.Publisher
 
Publisher.DescriptorImpl - Class in hudson.plugins.testng
 

R

readResolve() - Method in class hudson.plugins.testng.Publisher
Helps resolve XML configs for versions before 1.11 when these new config options were introduced.
redirectWhenGraphUnsupported(StaplerResponse, StaplerRequest) - Static method in class hudson.plugins.testng.util.GraphHelper
 
ResultsParser - Class in hudson.plugins.testng.parser
Parses TestNG result XMLs generated using org.testng.reporters.XmlReporter into objects that are then used to display results in Jenkins.
ResultsParser() - Constructor for class hudson.plugins.testng.parser.ResultsParser
 
ResultsParser(PrintStream) - Constructor for class hudson.plugins.testng.parser.ResultsParser
 
run - Variable in class hudson.plugins.testng.results.BaseResult
 

S

setEscapeExceptionMsg(boolean) - Method in class hudson.plugins.testng.Publisher
 
setEscapeTestDescp(boolean) - Method in class hudson.plugins.testng.Publisher
 
setException(MethodResultException) - Method in class hudson.plugins.testng.results.MethodResult
 
setFailedFails(Integer) - Method in class hudson.plugins.testng.Publisher
 
setFailedSkips(Integer) - Method in class hudson.plugins.testng.Publisher
 
setFailureOnFailedTestConfig(boolean) - Method in class hudson.plugins.testng.Publisher
 
setGroups(List<String>) - Method in class hudson.plugins.testng.results.MethodResult
 
setParameters(List<String>) - Method in class hudson.plugins.testng.results.MethodResult
 
setParent(BaseResult) - Method in class hudson.plugins.testng.results.BaseResult
 
setReporterOutput(String) - Method in class hudson.plugins.testng.results.MethodResult
 
setReportFilenamePattern(String) - Method in class hudson.plugins.testng.Publisher
 
setRun(Run<?, ?>) - Method in class hudson.plugins.testng.results.BaseResult
 
setRun(Run<?, ?>) - Method in class hudson.plugins.testng.results.ClassResult
 
setRun(Run<?, ?>) - Method in class hudson.plugins.testng.results.PackageResult
 
setRun(Run<?, ?>) - Method in class hudson.plugins.testng.results.TestNGResult
 
setShowFailedBuilds(boolean) - Method in class hudson.plugins.testng.Publisher
 
setTestUuid(String) - Method in class hudson.plugins.testng.results.MethodResult
 
setThresholdMode(Integer) - Method in class hudson.plugins.testng.Publisher
 
setUnstableFails(Integer) - Method in class hudson.plugins.testng.Publisher
 
setUnstableSkips(Integer) - Method in class hudson.plugins.testng.Publisher
 
skipCount - Variable in class hudson.plugins.testng.TestNGTestResultBuildAction
 
sortTestMethods() - Method in class hudson.plugins.testng.results.PackageResult
Sorts the test method results associated with this package based on the start time for method execution
start() - Method in class hudson.plugins.testng.PluginImpl
 

T

tally() - Method in class hudson.plugins.testng.results.ClassResult
 
tally() - Method in class hudson.plugins.testng.results.PackageResult
 
tally() - Method in class hudson.plugins.testng.results.TestNGResult
Updates the calculated fields
TestNGProjectAction - Class in hudson.plugins.testng
Action to associate the TestNG reports with the project
TestNGProjectAction(Job<?, ?>, boolean, boolean, boolean) - Constructor for class hudson.plugins.testng.TestNGProjectAction
 
TestNGResult - Class in hudson.plugins.testng.results
Represents all the results gathered for a single build (or a single suite, while parsing the test results)
TestNGResult() - Constructor for class hudson.plugins.testng.results.TestNGResult
 
TestNGResult(String) - Constructor for class hudson.plugins.testng.results.TestNGResult
Deprecated.
don't use this constructor
TestNGTestResult - Class in hudson.plugins.testng.results
Represents a single TestNG XML <test> tag.
TestNGTestResult(String) - Constructor for class hudson.plugins.testng.results.TestNGTestResult
 
TestNGTestResultBuildAction - Class in hudson.plugins.testng
TestNG build action that exposes the results per build
TestNGTestResultBuildAction(TestNGResult, boolean, boolean, boolean) - Constructor for class hudson.plugins.testng.TestNGTestResultBuildAction
 
TestResultHistoryUtil - Class in hudson.plugins.testng.util
Utility methods around displaying results (esp history of results)
toString() - Method in class hudson.plugins.testng.results.MethodResultException
 
toString() - Method in class hudson.plugins.testng.results.TestNGResult
 
toSummary(TestNGTestResultBuildAction) - Static method in class hudson.plugins.testng.util.TestResultHistoryUtil
Summarizes the delta in tests and also displays a list of failed/skipped tests and configuration methods.

U

unstableOnSkippedTests - Variable in class hudson.plugins.testng.Publisher
Deprecated.
URL - Static variable in class hudson.plugins.testng.PluginImpl
 
A B C D E F G H I M N P R S T U 
All Classes All Packages