Uses of Interface
org.testng.ITestResult
-
-
Uses of ITestResult in org.testng
Fields in org.testng with type parameters of type ITestResult Modifier and Type Field Description private static java.lang.ThreadLocal<ITestResult>Reporter. m_currentTestResultprivate java.util.Collection<ITestResult>TestListenerAdapter. m_failedButWSPerTestsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_failedConfsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_failedTestsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_passedConfsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_passedTestsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_skippedConfsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_skippedTestsprivate java.util.Collection<ITestResult>TestListenerAdapter. m_timedOutTestsMethods in org.testng that return ITestResult Modifier and Type Method Description static ITestResultReporter. getCurrentTestResult()ITestResultIInvokedMethod. getTestResult()Methods in org.testng that return types with arguments of type ITestResult Modifier and Type Method Description java.util.Set<ITestResult>IResultMap. getAllResults()java.util.List<ITestResult>TestListenerAdapter. getConfigurationFailures()java.util.List<ITestResult>TestListenerAdapter. getConfigurationSkips()java.util.List<ITestResult>TestListenerAdapter. getFailedButWithinSuccessPercentageTests()java.util.List<ITestResult>TestListenerAdapter. getFailedTests()java.util.Set<ITestResult>TestRunner. getFailedTests(ITestNGMethod tm)java.util.List<ITestResult>TestListenerAdapter. getPassedTests()java.util.Set<ITestResult>TestRunner. getPassedTests(ITestNGMethod tm)java.util.Set<ITestResult>IResultMap. getResults(ITestNGMethod method)java.util.List<ITestResult>TestListenerAdapter. getSkippedTests()java.util.Set<ITestResult>TestRunner. getSkippedTests(ITestNGMethod tm)java.util.Collection<ITestResult>TestListenerAdapter. getTimedoutTests()Methods in org.testng with parameters of type ITestResult Modifier and Type Method Description voidTestRunner. addFailedButWithinSuccessPercentageTest(ITestNGMethod testMethod, ITestResult result)voidTestRunner. addFailedTest(ITestNGMethod testMethod, ITestResult result)voidTestRunner. addPassedTest(ITestNGMethod tm, ITestResult tr)voidIResultMap. addResult(ITestResult result, ITestNGMethod method)voidTestRunner. 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)static java.util.List<java.lang.String>Reporter. getOutput(ITestResult tr)default IRetryAnalyzerITestNGMethod. getRetryAnalyzer(ITestResult result)private static voidReporter. log(java.lang.String s, ITestResult m)private voidTestRunner. logFailedTest(ITestNGMethod method, 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)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 ITestResult Modifier and Type Method Description voidTestListenerAdapter. setFailedButWithinSuccessPercentageTests(java.util.List<ITestResult> failedButWithinSuccessPercentageTests)voidTestListenerAdapter. setFailedTests(java.util.List<ITestResult> failedTests)voidTestListenerAdapter. setPassedTests(java.util.List<ITestResult> passedTests)voidTestListenerAdapter. setSkippedTests(java.util.List<ITestResult> skippedTests) -
Uses of ITestResult in org.testng.internal
Classes in org.testng.internal that implement ITestResult Modifier and Type Class Description classTestResultThis class represents the result of a test.Fields in org.testng.internal declared as ITestResult Modifier and Type Field Description (package private) ITestResultParameterHandler.ParameterBag. errorResultprivate ITestResultInvokedMethod. m_testResultprivate ITestResultInvokeMethodRunnable. m_testResultprivate ITestResultConfigMethodArguments.Builder. testMethodResultprivate ITestResultConfigMethodArguments. testMethodResultprivate ITestResultParameters.MethodParameters. testResultFields in org.testng.internal with type parameters of type ITestResult Modifier and Type Field Description private java.util.Map<ITestResult,ITestNGMethod>ResultMap. m_mapprivate java.util.List<ITestResult>TestMethodWithDataProviderMethodWorker. m_testResultsprivate java.util.List<ITestResult>TestMethodWorker. m_testResultsprivate java.util.List<ITestResult>TestInvoker.MethodInvocationAgent. resultMethods in org.testng.internal that return ITestResult Modifier and Type Method Description ITestResultConfigMethodArguments. getTestMethodResult()ITestResultInvokedMethod. getTestResult()private ITestResultTestInvoker. invokeMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)ITestResultITestInvoker. invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)ITestResultTestInvoker. invokeTestMethod(TestMethodArguments arguments, XmlSuite suite, ITestInvoker.FailureContext failureContext)invokeTestMethods() eventually converge here to invoke a single @Test method.ITestResultITestInvoker. registerSkippedTestResult(ITestNGMethod testMethod, long start, java.lang.Throwable throwable)ITestResultTestInvoker. registerSkippedTestResult(ITestNGMethod testMethod, long start, java.lang.Throwable throwable)Methods in org.testng.internal that return types with arguments of type ITestResult Modifier and Type Method Description java.util.List<ITestResult>TestMethodWithDataProviderMethodWorker. call()java.util.Set<ITestResult>ResultMap. getAllResults()java.util.Set<ITestResult>ITestResultNotifier. getFailedTests(ITestNGMethod tm)java.util.Set<ITestResult>ITestResultNotifier. getPassedTests(ITestNGMethod tm)java.util.List<ITestResult>TestInvoker.MethodInvocationAgent. getResult()java.util.Set<ITestResult>ResultMap. getResults(ITestNGMethod method)java.util.Set<ITestResult>ITestResultNotifier. getSkippedTests(ITestNGMethod tm)java.util.List<ITestResult>TestMethodWorker. getTestResults()private java.util.List<ITestResult>TestInvoker. invokePooledTestMethods(ITestNGMethod testMethod, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, ITestContext testContext)Invokes a method that has a specified threadPoolSize.java.util.List<ITestResult>ITestInvoker. invokeTestMethods(ITestNGMethod testMethod, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext context)java.util.List<ITestResult>TestInvoker. invokeTestMethods(ITestNGMethod testMethod, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext context)private java.util.Set<ITestResult>TestInvoker. keepSameInstances(ITestNGMethod method, java.util.Set<ITestResult> results)java.util.List<ITestResult>IMethodRunner. runInParallel(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, java.util.concurrent.atomic.AtomicInteger invocationCount, ITestInvoker.FailureContext failure, java.util.Iterator<java.lang.Object[]> allParameterValues, boolean skipFailedInvocationCounts)java.util.List<ITestResult>MethodRunner. runInParallel(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, java.util.concurrent.atomic.AtomicInteger invocationCount, ITestInvoker.FailureContext failure, java.util.Iterator<java.lang.Object[]> allParamValues, boolean skipFailedInvocationCounts)java.util.List<ITestResult>IMethodRunner. runInSequence(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, java.util.concurrent.atomic.AtomicInteger invocationCount, ITestInvoker.FailureContext failure, java.util.Iterator<java.lang.Object[]> allParameterValues, boolean skipFailedInvocationCounts)java.util.List<ITestResult>MethodRunner. runInSequence(TestMethodArguments arguments, ITestInvoker testInvoker, ITestContext context, java.util.concurrent.atomic.AtomicInteger invocationCount, ITestInvoker.FailureContext failure, java.util.Iterator<java.lang.Object[]> allParamValues, boolean skipFailedInvocationCounts)private java.util.List<ITestResult>TestInvoker. runWorkers(ITestNGMethod testMethod, java.util.List<IWorker<ITestNGMethod>> workers, int threadPoolSize, ConfigurationGroupMethods groupMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.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 ITestResult Modifier and Type Method Description voidITestResultNotifier. addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr)voidITestResultNotifier. addFailedTest(ITestNGMethod tm, ITestResult tr)voidITestResultNotifier. addPassedTest(ITestNGMethod tm, ITestResult tr)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(java.lang.Object[] source, ITestResult target)static java.lang.Object[]Parameters. createConfigurationParameters(java.lang.reflect.Method m, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, ITestNGMethod currentTestMethod, IAnnotationFinder finder, XmlSuite xmlSuite, ITestContext ctx, ITestResult testResult)Creates the parameters needed for the specified@ConfigurationMethod.IRetryAnalyzerBaseTestMethod. getRetryAnalyzer(ITestResult result)IRetryAnalyzerClonedMethod. getRetryAnalyzer(ITestResult result)IRetryAnalyzerWrappedTestNGMethod. getRetryAnalyzer(ITestResult result)private IRetryAnalyzerBaseTestMethod. getRetryAnalyzerConsideringMethodParameters(ITestResult tr)private voidConfigInvoker. handleConfigurationFailure(java.lang.Throwable ite, ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, java.lang.Object instance, XmlSuite suite)private voidConfigInvoker. handleConfigurationSkip(ITestNGMethod tm, ITestResult testResult, IConfigurationAnnotation annotation, ITestNGMethod currentTestMethod, java.lang.Object instance, XmlSuite suite)Marks the currentTestResultas skipped and invokes the listeners.protected voidBaseInvoker. handleException(java.lang.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(java.lang.Object instance, java.lang.Object[] parameters, IConfigurable configurableInstance, java.lang.reflect.Method thisMethod, ITestResult testResult)private voidConfigInvoker. invokeConfigurationMethod(java.lang.Object targetInstance, ITestNGMethod tm, java.lang.Object[] params, ITestResult testResult)Effectively invokes a configuration method on all passed in instances.protected static voidMethodInvocationHelper. invokeHookable(java.lang.Object testInstance, java.lang.Object[] parameters, IHookable hookable, java.lang.reflect.Method thisMethod, ITestResult testResult)voidITestInvoker. invokeListenersForSkippedTestResult(ITestResult r, IInvokedMethod invokedMethod)voidTestInvoker. invokeListenersForSkippedTestResult(ITestResult r, IInvokedMethod invokedMethod)protected static voidMethodInvocationHelper. invokeMethodConsideringTimeout(ITestNGMethod tm, ConstructorOrMethod method, java.lang.Object targetInstance, java.lang.Object[] params, ITestResult testResult)protected static voidMethodInvocationHelper. invokeWithTimeout(ITestNGMethod tm, java.lang.Object instance, java.lang.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, java.lang.Object instance, java.lang.Object[] parameterValues, ITestResult testResult, IHookable hookable)private static voidMethodInvocationHelper. invokeWithTimeoutWithNewExecutor(ITestNGMethod tm, java.lang.Object instance, java.lang.Object[] parameterValues, ITestResult testResult, IHookable hookable)private static voidMethodInvocationHelper. invokeWithTimeoutWithNoExecutor(ITestNGMethod tm, java.lang.Object instance, java.lang.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)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, java.util.List<IConfigurationListener> listeners)(package private) static voidTestListenerHelper. runPreConfigurationListeners(ITestResult tr, ITestNGMethod tm, java.util.List<IConfigurationListener> listeners)static voidTestListenerHelper. runTestListeners(ITestResult tr, java.util.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, java.lang.Object instance)private static voidTestInvoker. setTestStatus(ITestResult result, int status)private voidConfigInvoker. throwConfigurationFailure(ITestResult testResult, java.lang.Throwable ex)ConfigMethodArguments.BuilderConfigMethodArguments.Builder. withResult(ITestResult testMethodResult)Method parameters in org.testng.internal with type arguments of type ITestResult Modifier and Type Method Description private java.util.Set<ITestResult>TestInvoker. keepSameInstances(ITestNGMethod method, java.util.Set<ITestResult> results)ITestInvoker.FailureContextITestInvoker. retryFailed(TestMethodArguments arguments, java.util.List<ITestResult> result, int failureCount, ITestContext testContext)ITestInvoker.FailureContextTestInvoker. retryFailed(TestMethodArguments arguments, java.util.List<ITestResult> result, int failureCount, ITestContext testContext)Constructors in org.testng.internal with parameters of type ITestResult Constructor Description ConfigMethodArguments(IClass testClass, ITestNGMethod currentTestMethod, ITestNGMethod[] allMethods, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> params, java.lang.Object[] parameterValues, java.lang.Object instance, ITestResult testMethodResult)InvokedMethod(java.lang.Object instance, ITestNGMethod method, long date, ITestResult testResult)InvokeMethodRunnable(ITestNGMethod thisMethod, java.lang.Object instance, java.lang.Object[] parameters, IHookable hookable, ITestResult testResult)MethodParameters(java.util.Map<java.lang.String,java.lang.String> params, java.util.Map<java.lang.String,java.lang.String> methodParams, java.lang.Object[] pv, java.lang.reflect.Method m, ITestContext ctx, ITestResult tr)ParameterBag(ITestResult errorResult) -
Uses of ITestResult in org.testng.internal.annotations
Methods in org.testng.internal.annotations with parameters of type ITestResult Modifier and Type Method Description booleanDisabledRetryAnalyzer. retry(ITestResult result) -
Uses of ITestResult in org.testng.internal.invokers
Fields in org.testng.internal.invokers declared as ITestResult Modifier and Type Field Description private ITestResultInvokedMethodListenerInvoker. m_testResultConstructors in org.testng.internal.invokers with parameters of type ITestResult Constructor Description InvokedMethodListenerInvoker(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 ITestResult Modifier and Type Field Description private ITestResultMethodMatcherContext. testResultMethods in org.testng.internal.reflect that return ITestResult Modifier and Type Method Description ITestResultMethodMatcherContext. getTestResult()Methods in org.testng.internal.reflect with parameters of type ITestResult Modifier and Type Method Description static java.lang.Object[]ReflectionRecipes. inject(Parameter[] parameters, java.util.Set<InjectableParameter> filters, java.lang.Object[] args, java.lang.reflect.Constructor constructor, ITestContext context, ITestResult testResult)Injects appropriate arguments.static java.lang.Object[]ReflectionRecipes. inject(Parameter[] parameters, java.util.Set<InjectableParameter> filters, java.lang.Object[] args, java.lang.reflect.Method injectionMethod, ITestContext context, ITestResult testResult)Injects appropriate arguments.private static java.lang.Object[]ReflectionRecipes. nativelyInject(Parameter[] parameters, java.util.Set<InjectableParameter> filters, java.lang.Object[] args, java.lang.Object injectionMethod, ITestContext context, ITestResult testResult)Constructors in org.testng.internal.reflect with parameters of type ITestResult Constructor Description MethodMatcherContext(java.lang.reflect.Method method, java.lang.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 ITestResult Modifier and Type Field Description private java.util.Map<org.junit.runner.Description,ITestResult>JUnit4TestRunner. m_findedMethodsMethods in org.testng.junit that return ITestResult Modifier and Type Method Description private ITestResultJUnit4TestRunner. createTestResult(org.junit.runner.Description test)Methods in org.testng.junit with parameters of type ITestResult Modifier and Type Method Description private 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 ITestResult Modifier and Type Field Description private static java.util.Comparator<ITestResult>TestHTMLReporter. CONFIGURATION_COMPARATORprivate java.util.Queue<ITestResult>JUnitXMLReporter. m_allTestsprivate java.util.Queue<ITestResult>JUnitXMLReporter. m_configIssuesprivate static java.util.Comparator<ITestResult>TestHTMLReporter. NAME_COMPARATORprotected static java.util.Comparator<ITestResult>EmailableReporter2.TestResult. RESULT_COMPARATOROrders test results by class name and then by method name (in lexicographic order).private java.util.List<ITestResult>EmailableReporter2.MethodResult. resultsMethods in org.testng.reporters that return types with arguments of type ITestResult Modifier and Type Method Description private java.util.Map<java.lang.String,java.util.List<ITestResult>>XMLSuiteResultWriter. buildTestClassGroups(java.util.Set<ITestResult> testResults)java.util.List<ITestResult>EmailableReporter2.MethodResult. getResults()private static java.util.Set<ITestResult>EmailableReporter2.TestResult. pruneRetried(java.util.Set<ITestResult> results)private static java.util.Set<ITestResult>EmailableReporter2.TestResult. pruneSkipped(java.util.Set<ITestResult> results)private static java.util.Collection<ITestResult>JUnitReportReporter. sort(java.util.Set<ITestResult> results)Methods in org.testng.reporters with parameters of type ITestResult Modifier and Type Method Description voidICustomizeXmlReport. 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)private XMLReporterConfig.StackTraceLevelsXMLSuiteResultWriter. 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, java.lang.Class<?> cls)private voidEmailableReporter. generateForResult(ITestResult ans)private longJUnitReportReporter. getNextConfiguration(ListMultiMap<java.lang.Object,ITestResult> configurations, ITestResult tr)Add the time of the configuration method to this test method.protected java.lang.StringJUnitReportReporter. getTestName(ITestResult tr)private java.util.PropertiesXMLSuiteResultWriter. getTestResultAttributes(ITestResult testResult)private voidTextReporter. logResult(java.lang.String status, ITestResult tr, java.lang.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, java.lang.String label, ITestResult result)Writes the details for an individual test scenario.Method parameters in org.testng.reporters with type arguments of type ITestResult Modifier and Type Method Description private voidXMLSuiteResultWriter. addAllTestResults(java.util.Set<ITestResult> testResults, IResultMap resultMap)private voidJUnitReportReporter. addResults(java.util.Set<ITestResult> allResults, java.util.Map<java.lang.Class<?>,java.util.Set<ITestResult>> out)private voidJUnitReportReporter. addResults(java.util.Set<ITestResult> allResults, java.util.Map<java.lang.Class<?>,java.util.Set<ITestResult>> out)private voidXMLSuiteResultWriter. addTestResults(XMLStringBuffer xmlBuffer, java.util.Set<ITestResult> testResults)private java.util.Map<java.lang.String,java.util.List<ITestResult>>XMLSuiteResultWriter. buildTestClassGroups(java.util.Set<ITestResult> testResults)private voidJUnitXMLReporter. createElementFromTestResults(XMLStringBuffer document, java.util.Collection<ITestResult> results)static voidTestHTMLReporter. generateLog(ITestContext testContext, java.lang.String host, java.lang.String outputDirectory, java.util.Collection<ITestResult> failedConfs, java.util.Collection<ITestResult> skippedConfs, java.util.Collection<ITestResult> passedTests, java.util.Collection<ITestResult> failedTests, java.util.Collection<ITestResult> skippedTests, java.util.Collection<ITestResult> percentageTests)static voidTestHTMLReporter. generateTable(java.io.PrintWriter pw, java.lang.String title, java.util.Collection<ITestResult> tests, java.lang.String cssClass, java.util.Comparator<ITestResult> comparator)static voidTestHTMLReporter. generateTable(java.io.PrintWriter pw, java.lang.String title, java.util.Collection<ITestResult> tests, java.lang.String cssClass, java.util.Comparator<ITestResult> comparator)private voidFailedReporter. generateXmlTest(XmlTest xmlTest, ITestContext context, java.util.Set<ITestResult> failedTests, java.util.Set<ITestResult> skippedTests)private longJUnitReportReporter. getNextConfiguration(ListMultiMap<java.lang.Object,ITestResult> configurations, ITestResult tr)Add the time of the configuration method to this test method.protected java.util.List<EmailableReporter2.ClassResult>EmailableReporter2.TestResult. groupResults(java.util.Set<ITestResult> results)Groups test results by method and then by class.private voidTextReporter. logExceptions(java.lang.String status, java.util.List<ITestResult> results)private static java.util.Set<ITestResult>EmailableReporter2.TestResult. pruneRetried(java.util.Set<ITestResult> results)private static java.util.Set<ITestResult>EmailableReporter2.TestResult. pruneSkipped(java.util.Set<ITestResult> results)private static java.util.List<ITestNGMethod>TextReporter. resultsToMethods(java.util.List<ITestResult> results)private ITestNGMethod[]VerboseReporter. resultsToMethods(java.util.List<ITestResult> results)private static java.util.Collection<ITestResult>JUnitReportReporter. sort(java.util.Set<ITestResult> results)Constructor parameters in org.testng.reporters with type arguments of type ITestResult Constructor Description MethodResult(java.util.List<ITestResult> results) -
Uses of ITestResult in org.testng.reporters.jq
Fields in org.testng.reporters.jq with type parameters of type ITestResult Modifier and Type Field Description private java.util.function.Predicate<ITestResult>NavigatorPanel.ResultsByStatus. conditionprivate java.util.List<ITestResult>Model. m_allFailedResultsprivate ListMultiMap<ISuite,ITestResult>Model. m_modelprivate ListMultiMap<java.lang.Class<?>,ITestResult>ResultsByClass. m_resultsprivate java.util.Map<ITestResult,java.lang.String>Model. m_testResultMapstatic java.util.Comparator<ITestResult>ResultsByClass. METHOD_NAME_COMPARATORMethods in org.testng.reporters.jq that return types with arguments of type ITestResult Modifier and Type Method Description java.util.List<ITestResult>Model. getAllFailedResults()java.util.List<ITestResult>Model. getAllTestResults(ISuite suite)java.util.List<ITestResult>Model. getAllTestResults(ISuite suite, boolean testsOnly)private java.util.List<ITestResult>NavigatorPanel. getMethodsByStatus(ISuite suite, int status, java.util.function.Predicate<ITestResult> condition)java.util.List<ITestResult>NavigatorPanel.IResultProvider. getResults()java.util.List<ITestResult>NavigatorPanel.ResultsByStatus. getResults()java.util.List<ITestResult>ResultsByClass. getResults(java.lang.Class<?> c)java.util.List<ITestResult>Model. getTestResults(ISuite suite)Methods in org.testng.reporters.jq with parameters of type ITestResult Modifier and Type Method Description voidResultsByClass. addResult(java.lang.Class<?> c, ITestResult tr)private voidSuitePanel. generateMethod(ITestResult tr, XMLStringBuffer xsb)java.lang.StringModel. getTag(ITestResult tr)static java.lang.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 ITestResult Modifier and Type Method Description private voidSuitePanel. generateClassPanel(java.lang.Class c, java.util.List<ITestResult> results, XMLStringBuffer xsb, java.lang.String status, ISuite suite)private java.util.List<ITestResult>NavigatorPanel. getMethodsByStatus(ISuite suite, int status, java.util.function.Predicate<ITestResult> condition)Constructor parameters in org.testng.reporters.jq with type arguments of type ITestResult Constructor Description ResultsByStatus(ISuite suite, java.lang.String type, int m_status, java.util.function.Predicate<ITestResult> condition) -
Uses of ITestResult in org.testng.util
Methods in org.testng.util with parameters of type ITestResult Modifier and Type Method Description booleanRetryAnalyzerCount. 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.
-