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_currentTestResultprivate Collection<ITestResult>TestListenerAdapter.m_failedButWSPerTestsprivate final Collection<ITestResult>TestListenerAdapter.m_failedConfsprivate Collection<ITestResult>TestListenerAdapter.m_failedTestsprivate final Collection<ITestResult>TestListenerAdapter.m_passedConfsprivate Collection<ITestResult>TestListenerAdapter.m_passedTestsprivate final Collection<ITestResult>TestListenerAdapter.m_skippedConfsprivate Collection<ITestResult>TestListenerAdapter.m_skippedTestsprivate final Collection<ITestResult>TestListenerAdapter.m_timedOutTestsMethods in org.testng that return ITestResultModifier and TypeMethodDescriptionstatic ITestResultReporter.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 TypeMethodDescriptionvoidTestRunner.addFailedButWithinSuccessPercentageTest(ITestNGMethod testMethod, ITestResult result) voidTestRunner.addFailedTest(ITestNGMethod testMethod, ITestResult result) voidTestRunner.addPassedTest(ITestNGMethod tm, ITestResult tr) voidIResultMap.addResult(ITestResult result) voidIResultMap.addResult(ITestResult result, ITestNGMethod method) Deprecated.- This method stands deprecated as of 7.4.0voidTestRunner.addSkippedTest(ITestNGMethod tm, ITestResult tr) default voidIInvokedMethodListener.afterInvocation(IInvokedMethod method, ITestResult testResult) default voidIInvokedMethodListener.afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context) To be implemented if the method needs a handle to contextual information.voidSuiteRunner.afterInvocation(IInvokedMethod method, ITestResult testResult) default voidIConfigurationListener.beforeConfiguration(ITestResult tr) Invoked before a configuration method is invoked.default voidIConfigurationListener.beforeConfiguration(ITestResult tr, ITestNGMethod tm) Invoked before a configuration method is invoked.voidTestListenerAdapter.beforeConfiguration(ITestResult tr) voidTestRunner.ConfigurationListener.beforeConfiguration(ITestResult tr) default voidIInvokedMethodListener.beforeInvocation(IInvokedMethod method, ITestResult testResult) default voidIInvokedMethodListener.beforeInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context) To be implemented if the method needs a handle to contextual information.voidSuiteRunner.beforeInvocation(IInvokedMethod method, ITestResult testResult) Reporter.getOutput(ITestResult tr) ITestNGMethod.getRetryAnalyzer(ITestResult result) private static voidReporter.log(String s, ITestResult m) private voidTestRunner.logFailedTest(ITestResult tr, boolean withinSuccessPercentage) default voidIConfigurationListener.onConfigurationFailure(ITestResult tr) Invoked whenever a configuration method failed.default voidIConfigurationListener.onConfigurationFailure(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method failed.voidTestListenerAdapter.onConfigurationFailure(ITestResult itr) voidTestRunner.ConfigurationListener.onConfigurationFailure(ITestResult itr) default voidIConfigurationListener.onConfigurationSkip(ITestResult tr) Invoked whenever a configuration method was skipped.default voidIConfigurationListener.onConfigurationSkip(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method was skipped.voidTestListenerAdapter.onConfigurationSkip(ITestResult itr) voidTestRunner.ConfigurationListener.onConfigurationSkip(ITestResult itr) default voidIConfigurationListener.onConfigurationSuccess(ITestResult tr) Invoked whenever a configuration method succeeded.default voidIConfigurationListener.onConfigurationSuccess(ITestResult tr, ITestNGMethod tm) Invoked whenever a configuration method succeeded.voidTestListenerAdapter.onConfigurationSuccess(ITestResult itr) voidTestRunner.ConfigurationListener.onConfigurationSuccess(ITestResult itr) default voidITestListener.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.voidTestListenerAdapter.onTestFailedButWithinSuccessPercentage(ITestResult tr) default voidITestListener.onTestFailedWithTimeout(ITestResult result) Invoked each time a test fails due to a timeout.voidTestListenerAdapter.onTestFailedWithTimeout(ITestResult tr) default voidITestListener.onTestFailure(ITestResult result) Invoked each time a test fails.voidTestListenerAdapter.onTestFailure(ITestResult tr) default voidITestListener.onTestSkipped(ITestResult result) Invoked each time a test is skipped.voidTestListenerAdapter.onTestSkipped(ITestResult tr) default voidITestListener.onTestStart(ITestResult result) Invoked each time before a test will be invoked.voidTestListenerAdapter.onTestStart(ITestResult result) default voidITestListener.onTestSuccess(ITestResult result) Invoked each time a test succeeds.voidTestListenerAdapter.onTestSuccess(ITestResult tr) private voidTestRunner.ConfigurationListener.removeConfigurationResultAfterExecution(ITestResult itr) voidIResultMap.removeResult(ITestResult r) booleanIRetryAnalyzer.retry(ITestResult result) Returns true if the test method has to be retried, false otherwise.voidIConfigurable.run(IConfigureCallBack callBack, ITestResult testResult) voidIHookable.run(IHookCallBack callBack, ITestResult testResult) voidIConfigureCallBack.runConfigurationMethod(ITestResult testResult) Invoke the test method currently being hijacked.voidIHookCallBack.runTestMethod(ITestResult testResult) Invoke the test method currently being hijacked.static voidReporter.setCurrentTestResult(ITestResult m) static booleanITestResult.wasFailureDueToTimeout(ITestResult result) Method parameters in org.testng with type arguments of type ITestResultModifier and TypeMethodDescriptionvoidTestListenerAdapter.setFailedButWithinSuccessPercentageTests(List<ITestResult> failedButWithinSuccessPercentageTests) voidTestListenerAdapter.setFailedTests(List<ITestResult> failedTests) voidTestListenerAdapter.setPassedTests(List<ITestResult> passedTests) voidTestListenerAdapter.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 ITestResultParameterHandler.ParameterBag.errorResultprivate final ITestResultInvokedMethod.m_testResultprivate final ITestResultInvokeMethodRunnable.m_testResultprivate ITestResultConfigMethodArguments.Builder.testMethodResultprivate final ITestResultConfigMethodArguments.testMethodResultprivate final ITestResultParameters.MethodParameters.testResultFields in org.testng.internal with type parameters of type ITestResultModifier and TypeFieldDescriptionprivate final List<ITestResult>TestMethodWithDataProviderMethodWorker.m_testResultsprivate final List<ITestResult>TestMethodWorker.m_testResultsprivate final List<ITestResult>TestInvoker.MethodInvocationAgent.resultprivate final Set<ITestResult>ResultMap.resultsMethods in org.testng.internal that return ITestResultModifier and TypeMethodDescriptionConfigMethodArguments.getTestMethodResult()InvokedMethod.getTestResult()private ITestResultTestInvoker.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 ITestResultITestInvoker.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 TypeMethodDescriptionvoidITestResultNotifier.addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr) voidITestResultNotifier.addFailedTest(ITestNGMethod tm, ITestResult tr) voidITestResultNotifier.addPassedTest(ITestNGMethod tm, ITestResult tr) voidResultMap.addResult(ITestResult result) voidResultMap.addResult(ITestResult result, ITestNGMethod method) voidITestResultNotifier.addSkippedTest(ITestNGMethod tm, ITestResult tr) private booleanTestResult.belongToSameGroup(ITestResult result) private voidTestInvoker.collectResults(ITestNGMethod testMethod, ITestResult result) intTestResult.compareTo(ITestResult comparison) private static intTestInvoker.computeTestStatusComparingTestResultAndStatusHolder(ITestResult testResult, TestInvoker.StatusHolder holder, boolean wasResultUnaltered) private TestInvoker.StatusHolderTestInvoker.considerExceptions(ITestNGMethod tm, ITestResult testresult, ExpectedExceptionsHolder exceptionsHolder, ITestInvoker.FailureContext failure) (package private) static voidTestResult.copyAttributes(ITestResult source, ITestResult target) private static voidConfigInvoker.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@ConfigurationMethod.BaseTestMethod.getRetryAnalyzer(ITestResult result) ClonedMethod.getRetryAnalyzer(ITestResult result) LiteWeightTestNGMethod.getRetryAnalyzer(ITestResult result) WrappedTestNGMethod.getRetryAnalyzer(ITestResult result) private IRetryAnalyzerBaseTestMethod.getRetryAnalyzerConsideringMethodParameters(ITestResult tr) private voidConfigInvoker.handleConfigurationFailure(Throwable ite, ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) private voidConfigInvoker.handleConfigurationSkip(ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, Object instance, XmlSuite suite) Marks the currentTestResultas skipped and invokes the listeners.protected voidBaseInvoker.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 voidTestInvoker.handleInvocationResults(ITestNGMethod testMethod, ITestResult testResult, ITestInvoker.FailureContext failure, TestInvoker.StatusHolder holder, boolean wasResultUnaltered) protected static voidMethodInvocationHelper.invokeConfigurable(Object instance, Object[] parameters, IConfigurable configurableInstance, Method thisMethod, ITestResult testResult) private voidConfigInvoker.invokeConfigurationMethod(Object targetInstance, ITestNGMethod tm, Object[] params, ITestResult testResult) Effectively invokes a configuration method on all passed in instances.protected static voidMethodInvocationHelper.invokeHookable(Object testInstance, Object[] parameters, IHookable hookable, Method thisMethod, ITestResult testResult) voidITestInvoker.invokeListenersForSkippedTestResult(ITestResult r, IInvokedMethod invokedMethod) voidTestInvoker.invokeListenersForSkippedTestResult(ITestResult r, IInvokedMethod invokedMethod) protected static voidMethodInvocationHelper.invokeMethodConsideringTimeout(ITestNGMethod tm, ConstructorOrMethod method, Object targetInstance, Object[] params, ITestResult testResult) protected static voidMethodInvocationHelper.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 voidMethodInvocationHelper.invokeWithTimeout(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) private static voidMethodInvocationHelper.invokeWithTimeoutWithNewExecutor(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) private static voidMethodInvocationHelper.invokeWithTimeoutWithNoExecutor(ITestNGMethod tm, Object instance, Object[] parameterValues, ITestResult testResult, IHookable hookable) private static booleanTestResult.isGlobalFailure(ITestResult result) private booleanTestResult.isRelated(ITestResult result) voidExitCodeListener.onTestFailedButWithinSuccessPercentage(ITestResult result) voidExitCodeListener.onTestFailure(ITestResult result) voidExitCodeListener.onTestSkipped(ITestResult result) voidExitCodeListener.onTestStart(ITestResult result) voidExitCodeListener.onTestSuccess(ITestResult result) ITestInvoker.registerSkippedTestResult(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) TestInvoker.registerSkippedTestResult(ITestNGMethod testMethod, long start, Throwable throwable, ITestResult source) voidResultMap.removeResult(ITestResult r) private voidConfigInvoker.runConfigurationListeners(ITestResult tr, ITestNGMethod tm, boolean before) protected voidBaseInvoker.runInvokedMethodListeners(InvokedMethodListenerMethod listenerMethod, IInvokedMethod invokedMethod, ITestResult testResult) (package private) static voidTestListenerHelper.runPostConfigurationListeners(ITestResult tr, ITestNGMethod tm, List<IConfigurationListener> listeners) (package private) static voidTestListenerHelper.runPreConfigurationListeners(ITestResult tr, ITestNGMethod tm, List<IConfigurationListener> listeners) static voidTestListenerHelper.runTestListeners(ITestResult tr, List<ITestListener> listeners) Iterates through a bunch of listeners and invokes them.voidITestInvoker.runTestResultListener(ITestResult tr) voidTestInvoker.runTestResultListener(ITestResult tr) private static booleanExceptionUtils.sameInstance(ITestResult configResult, Object instance) private static voidTestInvoker.setTestStatus(ITestResult result, int status) private voidConfigInvoker.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 ITestResultModifierConstructorDescriptionprivateConfigMethodArguments(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 ITestResultInvokedMethodListenerInvoker.m_testResultConstructors 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 specifiedlistenerMethodon any number ofIInvokedMethodListeners. -
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_findedMethodsMethods in org.testng.junit that return ITestResultModifier and TypeMethodDescriptionprivate ITestResultJUnit4TestRunner.createTestResult(org.junit.runner.Description test) Methods in org.testng.junit with parameters of type ITestResultModifier and TypeMethodDescriptionprivate voidJUnit4TestRunner.RL.runAfterInvocationListeners(ITestResult tr) private voidJUnit4TestRunner.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_COMPARATORprivate Queue<ITestResult>JUnitXMLReporter.m_allTestsprivate Queue<ITestResult>JUnitXMLReporter.m_configIssuesprivate static final Comparator<ITestResult>TestHTMLReporter.NAME_COMPARATORprotected static final Comparator<ITestResult>EmailableReporter2.TestResult.RESULT_COMPARATOROrders test results by class name and then by method name (in lexicographic order).private final List<ITestResult>EmailableReporter2.MethodResult.resultsMethods 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 TypeMethodDescriptionvoidICustomizeXmlReport.addCustomTagsFor(XMLStringBuffer xmlBuffer, ITestResult testResult) voidXMLReporter.addCustomTagsFor(XMLStringBuffer xmlBuffer, ITestResult testResult) voidXMLSuiteResultWriter.addTestMethodParams(XMLStringBuffer xmlBuffer, ITestResult testResult) private voidXMLSuiteResultWriter.addTestResult(XMLStringBuffer xmlBuffer, ITestResult testResult) private voidXMLSuiteResultWriter.addTestResultAttributes(XMLStringBuffer xmlBuffer, ITestResult testResult) private voidXMLSuiteResultWriter.addTestResultException(XMLStringBuffer xmlBuffer, ITestResult testResult) private voidXMLSuiteResultWriter.addTestResultOutput(XMLStringBuffer xmlBuffer, ITestResult testResult) voidExitCodeListener.beforeConfiguration(ITestResult tr) voidJUnitXMLReporter.beforeConfiguration(ITestResult tr) voidVerboseReporter.beforeConfiguration(ITestResult tr) XMLSuiteResultWriter.calculateStackTraceLevels(ITestResult testResult) intTestHTMLReporter.ConfigurationComparator.compare(ITestResult o1, ITestResult o2) intTestHTMLReporter.NameComparator.compare(ITestResult o1, ITestResult o2) private voidJUnitXMLReporter.createElement(XMLStringBuffer doc, ITestResult tr) private voidJUnitXMLReporter.createFailureElement(XMLStringBuffer doc, ITestResult tr) private JUnitReportReporter.TestTagJUnitReportReporter.createTestTagFor(ITestResult tr, Class<?> cls) private voidEmailableReporter.generateForResult(ITestResult ans) private StringVerboseReporter.getMethodDeclaration(ITestNGMethod method, ITestResult tr) private longJUnitReportReporter.getNextConfiguration(ListMultiMap<Object, ITestResult> configurations, ITestResult tr) Add the time of the configuration method to this test method.protected StringJUnitReportReporter.getTestName(ITestResult tr) private PropertiesXMLSuiteResultWriter.getTestResultAttributes(ITestResult testResult) private voidTextReporter.logResult(String status, ITestResult tr, String stackTrace) private voidVerboseReporter.logTestResult(VerboseReporter.Status st, ITestResult itr, boolean isConfMethod) Log meaningful message for passed in arguments.voidExitCodeListener.onConfigurationFailure(ITestResult itr) voidJUnitXMLReporter.onConfigurationFailure(ITestResult itr) voidVerboseReporter.onConfigurationFailure(ITestResult tr) voidExitCodeListener.onConfigurationSkip(ITestResult itr) voidJUnitXMLReporter.onConfigurationSkip(ITestResult itr) voidVerboseReporter.onConfigurationSkip(ITestResult tr) voidExitCodeListener.onConfigurationSuccess(ITestResult itr) voidJUnitXMLReporter.onConfigurationSuccess(ITestResult itr) voidVerboseReporter.onConfigurationSuccess(ITestResult tr) voidExitCodeListener.onTestFailedButWithinSuccessPercentage(ITestResult result) voidJUnitXMLReporter.onTestFailedButWithinSuccessPercentage(ITestResult tr) voidVerboseReporter.onTestFailedButWithinSuccessPercentage(ITestResult tr) voidDotTestListener.onTestFailure(ITestResult tr) voidExitCodeListener.onTestFailure(ITestResult result) voidJUnitXMLReporter.onTestFailure(ITestResult tr) Invoked each time a test fails.voidVerboseReporter.onTestFailure(ITestResult tr) voidDotTestListener.onTestSkipped(ITestResult tr) voidExitCodeListener.onTestSkipped(ITestResult result) voidJUnitXMLReporter.onTestSkipped(ITestResult tr) Invoked each time a test is skipped.voidVerboseReporter.onTestSkipped(ITestResult tr) voidExitCodeListener.onTestStart(ITestResult result) voidJUnitXMLReporter.onTestStart(ITestResult result) voidVerboseReporter.onTestStart(ITestResult tr) voidDotTestListener.onTestSuccess(ITestResult tr) voidExitCodeListener.onTestSuccess(ITestResult result) voidJUnitXMLReporter.onTestSuccess(ITestResult tr) Invoked each time a test succeeds.voidVerboseReporter.onTestSuccess(ITestResult tr) private voidEmailableReporter2.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 voidXMLSuiteResultWriter.addAllTestResults(Set<ITestResult> testResults, IResultMap resultMap) private voidJUnitReportReporter.addResults(Set<ITestResult> allResults, Map<Class<?>, Set<ITestResult>> out) private voidJUnitReportReporter.addResults(Set<ITestResult> allResults, Map<Class<?>, Set<ITestResult>> out) private voidXMLSuiteResultWriter.addTestResults(XMLStringBuffer xmlBuffer, Set<ITestResult> testResults) private Map<String,List<ITestResult>> XMLSuiteResultWriter.buildTestClassGroups(Set<ITestResult> testResults) private voidJUnitXMLReporter.createElementFromTestResults(XMLStringBuffer document, Collection<ITestResult> results) static voidTestHTMLReporter.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 voidTestHTMLReporter.generateTable(PrintWriter pw, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator) static voidTestHTMLReporter.generateTable(PrintWriter pw, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator) private voidFailedReporter.generateXmlTest(XmlTest xmlTest, ITestContext context, Set<ITestResult> failedTests, Set<ITestResult> skippedTests) private longJUnitReportReporter.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 voidTextReporter.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.conditionprivate List<ITestResult>Model.m_allFailedResultsprivate ListMultiMap<ISuite,ITestResult> Model.m_modelprivate ListMultiMap<Class<?>,ITestResult> ResultsByClass.m_resultsprivate Map<ITestResult,String> Model.m_testResultMapstatic final Comparator<ITestResult>ResultsByClass.METHOD_NAME_COMPARATORMethods 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 TypeMethodDescriptionvoidResultsByClass.addResult(Class<?> c, ITestResult tr) private voidSuitePanel.generateMethod(ITestResult tr, XMLStringBuffer xsb) Model.getTag(ITestResult tr) static StringModel.getTestResultName(ITestResult tr) private static longTimesPanel.time(ITestResult o1) private voidModel.updateGroups(ISuite suite, ITestResult tr) Method parameters in org.testng.reporters.jq with type arguments of type ITestResultModifier and TypeMethodDescriptionprivate voidSuitePanel.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 TypeMethodDescriptionbooleanRetryAnalyzerCount.retry(ITestResult result) Retries the test if count is not 0.abstract booleanRetryAnalyzerCount.retryMethod(ITestResult result) The method implemented by the class that test if the test must be retried or not.