Uses of Interface
org.testng.ITestResult
Packages that use ITestResult
Package
Description
-
Uses of ITestResult in org.testng
Fields in org.testng with type parameters of type ITestResultModifier and TypeFieldDescriptionprivate static final ThreadLocal<ITestResult>
Reporter.m_currentTestResult
private Collection<ITestResult>
TestListenerAdapter.m_failedButWSPerTests
private final Collection<ITestResult>
TestListenerAdapter.m_failedConfs
private Collection<ITestResult>
TestListenerAdapter.m_failedTests
private final Collection<ITestResult>
TestListenerAdapter.m_passedConfs
private Collection<ITestResult>
TestListenerAdapter.m_passedTests
private final Collection<ITestResult>
TestListenerAdapter.m_skippedConfs
private Collection<ITestResult>
TestListenerAdapter.m_skippedTests
private final Collection<ITestResult>
TestListenerAdapter.m_timedOutTests
Methods in org.testng that return ITestResultModifier and TypeMethodDescriptionstatic ITestResult
Reporter.getCurrentTestResult()
IInvokedMethod.getTestResult()
Methods in org.testng that return types with arguments of type ITestResultModifier and TypeMethodDescriptionIResultMap.getAllResults()
TestListenerAdapter.getConfigurationFailures()
TestListenerAdapter.getConfigurationSkips()
TestListenerAdapter.getFailedButWithinSuccessPercentageTests()
TestListenerAdapter.getFailedTests()
TestRunner.getFailedTests
(ITestNGMethod tm) TestListenerAdapter.getPassedTests()
TestRunner.getPassedTests
(ITestNGMethod tm) IResultMap.getResults
(ITestNGMethod method) TestListenerAdapter.getSkippedTests()
TestRunner.getSkippedTests
(ITestNGMethod tm) TestListenerAdapter.getTimedoutTests()
Methods in org.testng with parameters of type ITestResultModifier and TypeMethodDescriptionvoid
TestRunner.addFailedButWithinSuccessPercentageTest
(ITestNGMethod testMethod, ITestResult result) void
TestRunner.addFailedTest
(ITestNGMethod testMethod, ITestResult result) void
TestRunner.addPassedTest
(ITestNGMethod tm, ITestResult tr) void
IResultMap.addResult
(ITestResult result) void
IResultMap.addResult
(ITestResult result, ITestNGMethod method) Deprecated.- This method stands deprecated as of 7.4.0void
TestRunner.addSkippedTest
(ITestNGMethod tm, ITestResult tr) default void
IInvokedMethodListener.afterInvocation
(IInvokedMethod method, ITestResult testResult) default void
IInvokedMethodListener.afterInvocation
(IInvokedMethod method, ITestResult testResult, ITestContext context) To be implemented if the method needs a handle to contextual information.void
SuiteRunner.afterInvocation
(IInvokedMethod method, ITestResult testResult) default void
IConfigurationListener.beforeConfiguration
(ITestResult tr) Invoked before a configuration method is invoked.default void
IConfigurationListener.beforeConfiguration
(ITestResult tr, ITestNGMethod tm) Invoked before a configuration method is invoked.void
TestListenerAdapter.beforeConfiguration
(ITestResult tr) void
TestRunner.ConfigurationListener.beforeConfiguration
(ITestResult tr) default void
IInvokedMethodListener.beforeInvocation
(IInvokedMethod method, ITestResult testResult) default void
IInvokedMethodListener.beforeInvocation
(IInvokedMethod method, ITestResult testResult, ITestContext context) To be implemented if the method needs a handle to contextual information.void
SuiteRunner.beforeInvocation
(IInvokedMethod method, ITestResult testResult) Reporter.getOutput
(ITestResult tr) ITestNGMethod.getRetryAnalyzer
(ITestResult result) private static void
Reporter.log
(String s, ITestResult m) private void
TestRunner.logFailedTest
(ITestResult tr, boolean withinSuccessPercentage) default void
IConfigurationListener.onConfigurationFailure
(ITestResult tr) Invoked whenever a configuration method failed.default void
IConfigurationListener.onConfigurationFailure
(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method failed.void
TestListenerAdapter.onConfigurationFailure
(ITestResult itr) void
TestRunner.ConfigurationListener.onConfigurationFailure
(ITestResult itr) default void
IConfigurationListener.onConfigurationSkip
(ITestResult tr) Invoked whenever a configuration method was skipped.default void
IConfigurationListener.onConfigurationSkip
(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method was skipped.void
TestListenerAdapter.onConfigurationSkip
(ITestResult itr) void
TestRunner.ConfigurationListener.onConfigurationSkip
(ITestResult itr) default void
IConfigurationListener.onConfigurationSuccess
(ITestResult tr) Invoked whenever a configuration method succeeded.default void
IConfigurationListener.onConfigurationSuccess
(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method succeeded.void
TestListenerAdapter.onConfigurationSuccess
(ITestResult itr) void
TestRunner.ConfigurationListener.onConfigurationSuccess
(ITestResult itr) default void
ITestListener.onTestFailedButWithinSuccessPercentage
(ITestResult result) Invoked each time a method fails but has been annotated with successPercentage and this failure still keeps it within the success percentage requested.void
TestListenerAdapter.onTestFailedButWithinSuccessPercentage
(ITestResult tr) default void
ITestListener.onTestFailedWithTimeout
(ITestResult result) Invoked each time a test fails due to a timeout.void
TestListenerAdapter.onTestFailedWithTimeout
(ITestResult tr) default void
ITestListener.onTestFailure
(ITestResult result) Invoked each time a test fails.void
TestListenerAdapter.onTestFailure
(ITestResult tr) default void
ITestListener.onTestSkipped
(ITestResult result) Invoked each time a test is skipped.void
TestListenerAdapter.onTestSkipped
(ITestResult tr) default void
ITestListener.onTestStart
(ITestResult result) Invoked each time before a test will be invoked.void
TestListenerAdapter.onTestStart
(ITestResult result) default void
ITestListener.onTestSuccess
(ITestResult result) Invoked each time a test succeeds.void
TestListenerAdapter.onTestSuccess
(ITestResult tr) private void
TestRunner.ConfigurationListener.removeConfigurationResultAfterExecution
(ITestResult itr) void
IResultMap.removeResult
(ITestResult r) boolean
IRetryAnalyzer.retry
(ITestResult result) Returns true if the test method has to be retried, false otherwise.void
IConfigurable.run
(IConfigureCallBack callBack, ITestResult testResult) void
IHookable.run
(IHookCallBack callBack, ITestResult testResult) void
IConfigureCallBack.runConfigurationMethod
(ITestResult testResult) Invoke the test method currently being hijacked.void
IHookCallBack.runTestMethod
(ITestResult testResult) Invoke the test method currently being hijacked.static void
Reporter.setCurrentTestResult
(ITestResult m) static boolean
ITestResult.wasFailureDueToTimeout
(ITestResult result) Method parameters in org.testng with type arguments of type ITestResultModifier and TypeMethodDescriptionvoid
TestListenerAdapter.setFailedButWithinSuccessPercentageTests
(List<ITestResult> failedButWithinSuccessPercentageTests) void
TestListenerAdapter.setFailedTests
(List<ITestResult> failedTests) void
TestListenerAdapter.setPassedTests
(List<ITestResult> passedTests) void
TestListenerAdapter.setSkippedTests
(List<ITestResult> skippedTests) -
Uses of ITestResult in org.testng.internal
Classes in org.testng.internal that implement ITestResultFields in org.testng.internal declared as ITestResultModifier and TypeFieldDescription(package private) final ITestResult
ParameterHandler.ParameterBag.errorResult
private final ITestResult
InvokedMethod.m_testResult
private final ITestResult
InvokeMethodRunnable.m_testResult
private ITestResult
ConfigMethodArguments.Builder.testMethodResult
private final ITestResult
ConfigMethodArguments.testMethodResult
private final ITestResult
Parameters.MethodParameters.testResult
Fields in org.testng.internal with type parameters of type ITestResultModifier and TypeFieldDescriptionprivate final List<ITestResult>
TestMethodWithDataProviderMethodWorker.m_testResults
private final List<ITestResult>
TestMethodWorker.m_testResults
private final List<ITestResult>
TestInvoker.MethodInvocationAgent.result
private final Set<ITestResult>
ResultMap.results
Methods in org.testng.internal that return ITestResultModifier and TypeMethodDescriptionConfigMethodArguments.getTestMethodResult()
InvokedMethod.getTestResult()
private ITestResult
TestInvoker.invokeMethod
(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) ITestInvoker.invokeTestMethod
(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) TestInvoker.invokeTestMethod
(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext) invokeTestMethods() eventually converge here to invoke a single @Test method.default ITestResult
ITestInvoker.registerSkippedTestResult
(ITestNGMethod testMethod, long start, Throwable throwable) ITestInvoker.registerSkippedTestResult
(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) TestInvoker.registerSkippedTestResult
(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) Methods in org.testng.internal that return types with arguments of type ITestResultModifier and TypeMethodDescriptionTestMethodWithDataProviderMethodWorker.call()
ResultMap.getAllResults()
ITestResultNotifier.getFailedTests
(ITestNGMethod tm) ITestResultNotifier.getPassedTests
(ITestNGMethod tm) TestInvoker.MethodInvocationAgent.getResult()
ResultMap.getResults
(ITestNGMethod method) ITestResultNotifier.getSkippedTests
(ITestNGMethod tm) TestMethodWorker.getTestResults()
private List<ITestResult>
TestInvoker.invokePooledTestMethods
(ITestNGMethod testMethod, XmlSuite suite, Map<String, String> parameters, ConfigurationGroupMethods groupMethods, ITestContext testContext) Invokes a method that has a specified threadPoolSize.ITestInvoker.invokeTestMethods
(ITestNGMethod testMethod, ConfigurationGroupMethods groupMethods, Object instance, ITestContext context) TestInvoker.invokeTestMethods
(ITestNGMethod testMethod, ConfigurationGroupMethods groupMethods, Object instance, ITestContext context) private Set<ITestResult>
TestInvoker.keepSameInstances
(ITestNGMethod method, Set<ITestResult> results) IMethodRunner.runInParallel
(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, AtomicInteger invocationCount, ITestInvoker.FailureContext failure, Iterator<Object[]> allParameterValues, boolean skipFailedInvocationCounts) MethodRunner.runInParallel
(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, AtomicInteger invocationCount, ITestInvoker.FailureContext failure, Iterator<Object[]> allParamValues, boolean skipFailedInvocationCounts) IMethodRunner.runInSequence
(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, AtomicInteger invocationCount, ITestInvoker.FailureContext failure, Iterator<Object[]> allParameterValues, boolean skipFailedInvocationCounts) MethodRunner.runInSequence
(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, AtomicInteger invocationCount, ITestInvoker.FailureContext failure, Iterator<Object[]> allParamValues, boolean skipFailedInvocationCounts) private List<ITestResult>
TestInvoker.runWorkers
(ITestNGMethod testMethod, List<IWorker<ITestNGMethod>> workers, int threadPoolSize, ConfigurationGroupMethods groupMethods, XmlSuite suite, Map<String, String> parameters) To reduce thread contention and also to correctly handle thread-confinement this method invokes the @BeforeGroups and @AfterGroups corresponding to the current @Test method.Methods in org.testng.internal with parameters of type ITestResultModifier and TypeMethodDescriptionvoid
ITestResultNotifier.addFailedButWithinSuccessPercentageTest
(ITestNGMethod tm, ITestResult tr) void
ITestResultNotifier.addFailedTest
(ITestNGMethod tm, ITestResult tr) void
ITestResultNotifier.addPassedTest
(ITestNGMethod tm, ITestResult tr) void
ResultMap.addResult
(ITestResult result) void
ResultMap.addResult
(ITestResult result, ITestNGMethod method) void
ITestResultNotifier.addSkippedTest
(ITestNGMethod tm, ITestResult tr) private boolean
TestResult.belongToSameGroup
(ITestResult result) private void
TestInvoker.collectResults
(ITestNGMethod testMethod, ITestResult result) int
TestResult.compareTo
(ITestResult comparison) private static int
TestInvoker.computeTestStatusComparingTestResultAndStatusHolder
(ITestResult testResult, TestInvoker.StatusHolder holder, boolean wasResultUnaltered) private TestInvoker.StatusHolder
TestInvoker.considerExceptions
(ITestNGMethod tm, ITestResult testresult, ExpectedExceptionsHolder exceptionsHolder, ITestInvoker.FailureContext failure) (package private) static void
TestResult.copyAttributes
(ITestResult source, ITestResult target) private static void
ConfigInvoker.copyAttributesFromNativelyInjectedTestResult
(Object[] source, ITestResult target) static Object[]
Parameters.createConfigurationParameters
(Method m, Map<String, String> params, Object[] parameterValues, ITestNGMethod currentTestMethod, IAnnotationFinder finder, XmlSuite xmlSuite, ITestContext ctx, ITestResult testResult) Creates the parameters needed for the specified@Configuration
Method
.BaseTestMethod.getRetryAnalyzer
(ITestResult result) ClonedMethod.getRetryAnalyzer
(ITestResult result) LiteWeightTestNGMethod.getRetryAnalyzer
(ITestResult result) WrappedTestNGMethod.getRetryAnalyzer
(ITestResult result) private IRetryAnalyzer
BaseTestMethod.getRetryAnalyzerConsideringMethodParameters
(ITestResult tr) private void
ConfigInvoker.handleConfigurationFailure
(Throwable ite, ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) private void
ConfigInvoker.handleConfigurationSkip
(ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) Marks the currentTestResult
as skipped and invokes the listeners.protected void
BaseInvoker.handleException
(Throwable throwable, ITestNGMethod testMethod, ITestResult testResult, int failureCount) An exception was thrown by the test, determine if this method should be marked as a failure or as failure_but_within_successPercentageprivate void
TestInvoker.handleInvocationResults
(ITestNGMethod testMethod, ITestResult testResult, ITestInvoker.FailureContext failure, TestInvoker.StatusHolder holder, boolean wasResultUnaltered) protected static void
MethodInvocationHelper.invokeConfigurable
(Object instance, Object[] parameters, IConfigurable configurableInstance, Method thisMethod, ITestResult testResult) private void
ConfigInvoker.invokeConfigurationMethod
(Object targetInstance, ITestNGMethod tm, Object[] params, ITestResult testResult) Effectively invokes a configuration method on all passed in instances.protected static void
MethodInvocationHelper.invokeHookable
(Object testInstance, Object[] parameters, IHookable hookable, Method thisMethod, ITestResult testResult) void
ITestInvoker.invokeListenersForSkippedTestResult
(ITestResult r, IInvokedMethod invokedMethod) void
TestInvoker.invokeListenersForSkippedTestResult
(ITestResult r, IInvokedMethod invokedMethod) protected static void
MethodInvocationHelper.invokeMethodConsideringTimeout
(ITestNGMethod tm, ConstructorOrMethod method, Object targetInstance, Object[] params, ITestResult testResult) protected static void
MethodInvocationHelper.invokeWithTimeout
(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult) Invokes a method on a separate thread in order to allow us to timeout the invocation.protected static void
MethodInvocationHelper.invokeWithTimeout
(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) private static void
MethodInvocationHelper.invokeWithTimeoutWithNewExecutor
(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) private static void
MethodInvocationHelper.invokeWithTimeoutWithNoExecutor
(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) private static boolean
TestResult.isGlobalFailure
(ITestResult result) private boolean
TestResult.isRelated
(ITestResult result) void
ExitCodeListener.onTestFailedButWithinSuccessPercentage
(ITestResult result) void
ExitCodeListener.onTestFailure
(ITestResult result) void
ExitCodeListener.onTestSkipped
(ITestResult result) void
ExitCodeListener.onTestStart
(ITestResult result) void
ExitCodeListener.onTestSuccess
(ITestResult result) ITestInvoker.registerSkippedTestResult
(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) TestInvoker.registerSkippedTestResult
(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) void
ResultMap.removeResult
(ITestResult r) private void
ConfigInvoker.runConfigurationListeners
(ITestResult tr, ITestNGMethod tm, boolean before) protected void
BaseInvoker.runInvokedMethodListeners
(InvokedMethodListenerMethod listenerMethod, IInvokedMethod invokedMethod, ITestResult testResult) (package private) static void
TestListenerHelper.runPostConfigurationListeners
(ITestResult tr, ITestNGMethod tm, List<IConfigurationListener> listeners) (package private) static void
TestListenerHelper.runPreConfigurationListeners
(ITestResult tr, ITestNGMethod tm, List<IConfigurationListener> listeners) static void
TestListenerHelper.runTestListeners
(ITestResult tr, List<ITestListener> listeners) Iterates through a bunch of listeners and invokes them.void
ITestInvoker.runTestResultListener
(ITestResult tr) void
TestInvoker.runTestResultListener
(ITestResult tr) private static boolean
ExceptionUtils.sameInstance
(ITestResult configResult, Object instance) private static void
TestInvoker.setTestStatus
(ITestResult result, int status) private void
ConfigInvoker.throwConfigurationFailure
(ITestResult testResult, Throwable ex) ConfigMethodArguments.Builder.withResult
(ITestResult testMethodResult) Method parameters in org.testng.internal with type arguments of type ITestResultModifier and TypeMethodDescriptionprivate Set<ITestResult>
TestInvoker.keepSameInstances
(ITestNGMethod method, Set<ITestResult> results) ITestInvoker.retryFailed
(TestMethodArguments arguments, List<ITestResult> result, int failureCount, ITestContext testContext) TestInvoker.retryFailed
(TestMethodArguments arguments, List<ITestResult> result, int failureCount, ITestContext testContext) Constructors in org.testng.internal with parameters of type ITestResultModifierConstructorDescriptionprivate
ConfigMethodArguments
(IClass testClass, ITestNGMethod currentTestMethod, ITestNGMethod[] allMethods, XmlSuite suite, Map<String, String> params, Object[] parameterValues, Object instance, ITestResult testMethodResult) InvokedMethod
(long date, ITestResult testResult) InvokeMethodRunnable
(ITestNGMethod thisMethod, Object instance, Object[] parameters, IHookable hookable, ITestResult testResult) MethodParameters
(Map<String, String> params, Map<String, String> methodParams, Object[] pv, Method m, ITestContext ctx, ITestResult tr) (package private)
ParameterBag
(ITestResult errorResult) -
Uses of ITestResult in org.testng.internal.annotations
Methods in org.testng.internal.annotations with parameters of type ITestResult -
Uses of ITestResult in org.testng.internal.invokers
Fields in org.testng.internal.invokers declared as ITestResultModifier and TypeFieldDescriptionprivate final ITestResult
InvokedMethodListenerInvoker.m_testResult
Constructors in org.testng.internal.invokers with parameters of type ITestResultModifierConstructorDescriptionInvokedMethodListenerInvoker
(InvokedMethodListenerMethod listenerMethod, ITestResult testResult, ITestContext testContext) Creates a new invoker instance which can be used to call the specifiedlistenerMethod
on any number ofIInvokedMethodListener
s. -
Uses of ITestResult in org.testng.internal.reflect
Fields in org.testng.internal.reflect declared as ITestResultMethods in org.testng.internal.reflect that return ITestResultMethods in org.testng.internal.reflect with parameters of type ITestResultModifier and TypeMethodDescriptionstatic Object[]
ReflectionRecipes.inject
(Parameter[] parameters, Set<InjectableParameter> filters, Object[] args, Constructor<?> constructor, ITestContext context, ITestResult testResult) Injects appropriate arguments.static Object[]
ReflectionRecipes.inject
(Parameter[] parameters, Set<InjectableParameter> filters, Object[] args, Method injectionMethod, ITestContext context, ITestResult testResult) Injects appropriate arguments.private static Object[]
ReflectionRecipes.nativelyInject
(Parameter[] parameters, Set<InjectableParameter> filters, Object[] args, Object injectionMethod, ITestContext context, ITestResult testResult) Constructors in org.testng.internal.reflect with parameters of type ITestResultModifierConstructorDescriptionMethodMatcherContext
(Method method, Object[] arguments, ITestContext testContext, ITestResult testResult) Constructs a context for MethodMatchers. -
Uses of ITestResult in org.testng.junit
Fields in org.testng.junit with type parameters of type ITestResultModifier and TypeFieldDescriptionprivate Map<org.junit.runner.Description,
ITestResult> JUnit4TestRunner.m_findedMethods
Methods in org.testng.junit that return ITestResultModifier and TypeMethodDescriptionprivate ITestResult
JUnit4TestRunner.createTestResult
(org.junit.runner.Description test) Methods in org.testng.junit with parameters of type ITestResultModifier and TypeMethodDescriptionprivate void
JUnit4TestRunner.RL.runAfterInvocationListeners
(ITestResult tr) private void
JUnit4TestRunner.RL.validate
(ITestResult tr, org.junit.runner.Description description) -
Uses of ITestResult in org.testng.reporters
Fields in org.testng.reporters with type parameters of type ITestResultModifier and TypeFieldDescriptionprivate static final Comparator<ITestResult>
TestHTMLReporter.CONFIGURATION_COMPARATOR
private Queue<ITestResult>
JUnitXMLReporter.m_allTests
private Queue<ITestResult>
JUnitXMLReporter.m_configIssues
private static final Comparator<ITestResult>
TestHTMLReporter.NAME_COMPARATOR
protected static final Comparator<ITestResult>
EmailableReporter2.TestResult.RESULT_COMPARATOR
Orders test results by class name and then by method name (in lexicographic order).private final List<ITestResult>
EmailableReporter2.MethodResult.results
Methods in org.testng.reporters that return types with arguments of type ITestResultModifier and TypeMethodDescriptionprivate Map<String,
List<ITestResult>> XMLSuiteResultWriter.buildTestClassGroups
(Set<ITestResult> testResults) EmailableReporter2.MethodResult.getResults()
private static Set<ITestResult>
EmailableReporter2.TestResult.pruneRetried
(Set<ITestResult> results) private static Set<ITestResult>
EmailableReporter2.TestResult.pruneSkipped
(Set<ITestResult> results) private static Collection<ITestResult>
JUnitReportReporter.sort
(Set<ITestResult> results) Methods in org.testng.reporters with parameters of type ITestResultModifier and TypeMethodDescriptionvoid
ICustomizeXmlReport.addCustomTagsFor
(XMLStringBuffer xmlBuffer, ITestResult testResult) void
XMLReporter.addCustomTagsFor
(XMLStringBuffer xmlBuffer, ITestResult testResult) void
XMLSuiteResultWriter.addTestMethodParams
(XMLStringBuffer xmlBuffer, ITestResult testResult) private void
XMLSuiteResultWriter.addTestResult
(XMLStringBuffer xmlBuffer, ITestResult testResult) private void
XMLSuiteResultWriter.addTestResultAttributes
(XMLStringBuffer xmlBuffer, ITestResult testResult) private void
XMLSuiteResultWriter.addTestResultException
(XMLStringBuffer xmlBuffer, ITestResult testResult) private void
XMLSuiteResultWriter.addTestResultOutput
(XMLStringBuffer xmlBuffer, ITestResult testResult) void
ExitCodeListener.beforeConfiguration
(ITestResult tr) void
JUnitXMLReporter.beforeConfiguration
(ITestResult tr) void
VerboseReporter.beforeConfiguration
(ITestResult tr) XMLSuiteResultWriter.calculateStackTraceLevels
(ITestResult testResult) int
TestHTMLReporter.ConfigurationComparator.compare
(ITestResult o1, ITestResult o2) int
TestHTMLReporter.NameComparator.compare
(ITestResult o1, ITestResult o2) private void
JUnitXMLReporter.createElement
(XMLStringBuffer doc, ITestResult tr) private void
JUnitXMLReporter.createFailureElement
(XMLStringBuffer doc, ITestResult tr) private JUnitReportReporter.TestTag
JUnitReportReporter.createTestTagFor
(ITestResult tr, Class<?> cls) private void
EmailableReporter.generateForResult
(ITestResult ans) private String
VerboseReporter.getMethodDeclaration
(ITestNGMethod method, ITestResult tr) private long
JUnitReportReporter.getNextConfiguration
(ListMultiMap<Object, ITestResult> configurations, ITestResult tr) Add the time of the configuration method to this test method.protected String
JUnitReportReporter.getTestName
(ITestResult tr) private Properties
XMLSuiteResultWriter.getTestResultAttributes
(ITestResult testResult) private void
TextReporter.logResult
(String status, ITestResult tr, String stackTrace) private void
VerboseReporter.logTestResult
(VerboseReporter.Status st, ITestResult itr, boolean isConfMethod) Log meaningful message for passed in arguments.void
ExitCodeListener.onConfigurationFailure
(ITestResult itr) void
JUnitXMLReporter.onConfigurationFailure
(ITestResult itr) void
VerboseReporter.onConfigurationFailure
(ITestResult tr) void
ExitCodeListener.onConfigurationSkip
(ITestResult itr) void
JUnitXMLReporter.onConfigurationSkip
(ITestResult itr) void
VerboseReporter.onConfigurationSkip
(ITestResult tr) void
ExitCodeListener.onConfigurationSuccess
(ITestResult itr) void
JUnitXMLReporter.onConfigurationSuccess
(ITestResult itr) void
VerboseReporter.onConfigurationSuccess
(ITestResult tr) void
ExitCodeListener.onTestFailedButWithinSuccessPercentage
(ITestResult result) void
JUnitXMLReporter.onTestFailedButWithinSuccessPercentage
(ITestResult tr) void
VerboseReporter.onTestFailedButWithinSuccessPercentage
(ITestResult tr) void
DotTestListener.onTestFailure
(ITestResult tr) void
ExitCodeListener.onTestFailure
(ITestResult result) void
JUnitXMLReporter.onTestFailure
(ITestResult tr) Invoked each time a test fails.void
VerboseReporter.onTestFailure
(ITestResult tr) void
DotTestListener.onTestSkipped
(ITestResult tr) void
ExitCodeListener.onTestSkipped
(ITestResult result) void
JUnitXMLReporter.onTestSkipped
(ITestResult tr) Invoked each time a test is skipped.void
VerboseReporter.onTestSkipped
(ITestResult tr) void
ExitCodeListener.onTestStart
(ITestResult result) void
JUnitXMLReporter.onTestStart
(ITestResult result) void
VerboseReporter.onTestStart
(ITestResult tr) void
DotTestListener.onTestSuccess
(ITestResult tr) void
ExitCodeListener.onTestSuccess
(ITestResult result) void
JUnitXMLReporter.onTestSuccess
(ITestResult tr) Invoked each time a test succeeds.void
VerboseReporter.onTestSuccess
(ITestResult tr) private void
EmailableReporter2.writeScenario
(int scenarioIndex, String label, ITestResult result) Writes the details for an individual test scenario.Method parameters in org.testng.reporters with type arguments of type ITestResultModifier and TypeMethodDescriptionprivate void
XMLSuiteResultWriter.addAllTestResults
(Set<ITestResult> testResults, IResultMap resultMap) private void
JUnitReportReporter.addResults
(Set<ITestResult> allResults, Map<Class<?>, Set<ITestResult>> out) private void
JUnitReportReporter.addResults
(Set<ITestResult> allResults, Map<Class<?>, Set<ITestResult>> out) private void
XMLSuiteResultWriter.addTestResults
(XMLStringBuffer xmlBuffer, Set<ITestResult> testResults) private Map<String,
List<ITestResult>> XMLSuiteResultWriter.buildTestClassGroups
(Set<ITestResult> testResults) private void
JUnitXMLReporter.createElementFromTestResults
(XMLStringBuffer document, Collection<ITestResult> results) static void
TestHTMLReporter.generateLog
(ITestContext testContext, String host, String outputDirectory, Collection<ITestResult> failedConfs, Collection<ITestResult> skippedConfs, Collection<ITestResult> passedTests, Collection<ITestResult> failedTests, Collection<ITestResult> skippedTests, Collection<ITestResult> percentageTests) static void
TestHTMLReporter.generateTable
(PrintWriter pw, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator) static void
TestHTMLReporter.generateTable
(PrintWriter pw, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator) private void
FailedReporter.generateXmlTest
(XmlTest xmlTest, ITestContext context, Set<ITestResult> failedTests, Set<ITestResult> skippedTests) private long
JUnitReportReporter.getNextConfiguration
(ListMultiMap<Object, ITestResult> configurations, ITestResult tr) Add the time of the configuration method to this test method.protected List<EmailableReporter2.ClassResult>
EmailableReporter2.TestResult.groupResults
(Set<ITestResult> results) Groups test results by method and then by class.private void
TextReporter.logExceptions
(String status, List<ITestResult> results) private static Set<ITestResult>
EmailableReporter2.TestResult.pruneRetried
(Set<ITestResult> results) private static Set<ITestResult>
EmailableReporter2.TestResult.pruneSkipped
(Set<ITestResult> results) private static List<ITestNGMethod>
TextReporter.resultsToMethods
(Collection<ITestResult> results) private ITestNGMethod[]
VerboseReporter.resultsToMethods
(Collection<ITestResult> results) private static Collection<ITestResult>
JUnitReportReporter.sort
(Set<ITestResult> results) Constructor parameters in org.testng.reporters with type arguments of type ITestResult -
Uses of ITestResult in org.testng.reporters.jq
Fields in org.testng.reporters.jq with type parameters of type ITestResultModifier and TypeFieldDescriptionprivate final Predicate<ITestResult>
NavigatorPanel.ResultsByStatus.condition
private List<ITestResult>
Model.m_allFailedResults
private ListMultiMap<ISuite,
ITestResult> Model.m_model
private ListMultiMap<Class<?>,
ITestResult> ResultsByClass.m_results
private Map<ITestResult,
String> Model.m_testResultMap
static final Comparator<ITestResult>
ResultsByClass.METHOD_NAME_COMPARATOR
Methods in org.testng.reporters.jq that return types with arguments of type ITestResultModifier and TypeMethodDescriptionModel.getAllFailedResults()
Model.getAllTestResults
(ISuite suite) Model.getAllTestResults
(ISuite suite, boolean testsOnly) private List<ITestResult>
NavigatorPanel.getMethodsByStatus
(ISuite suite, int status, Predicate<ITestResult> condition) NavigatorPanel.IResultProvider.getResults()
NavigatorPanel.ResultsByStatus.getResults()
ResultsByClass.getResults
(Class<?> c) Model.getTestResults
(ISuite suite) Methods in org.testng.reporters.jq with parameters of type ITestResultModifier and TypeMethodDescriptionvoid
ResultsByClass.addResult
(Class<?> c, ITestResult tr) private void
SuitePanel.generateMethod
(ITestResult tr, XMLStringBuffer xsb) Model.getTag
(ITestResult tr) static String
Model.getTestResultName
(ITestResult tr) private static long
TimesPanel.time
(ITestResult o1) private void
Model.updateGroups
(ISuite suite, ITestResult tr) Method parameters in org.testng.reporters.jq with type arguments of type ITestResultModifier and TypeMethodDescriptionprivate void
SuitePanel.generateClassPanel
(Class c, List<ITestResult> results, XMLStringBuffer xsb, String status, ISuite suite) private List<ITestResult>
NavigatorPanel.getMethodsByStatus
(ISuite suite, int status, Predicate<ITestResult> condition) Constructor parameters in org.testng.reporters.jq with type arguments of type ITestResultModifierConstructorDescriptionResultsByStatus
(ISuite suite, String type, int m_status, Predicate<ITestResult> condition) -
Uses of ITestResult in org.testng.util
Methods in org.testng.util with parameters of type ITestResultModifier and TypeMethodDescriptionboolean
RetryAnalyzerCount.retry
(ITestResult result) Retries the test if count is not 0.abstract boolean
RetryAnalyzerCount.retryMethod
(ITestResult result) The method implemented by the class that test if the test must be retried or not.