Uses of Interface
org.testng.ITestResult
-
Packages that use ITestResult Package Description org.testng org.testng.internal org.testng.internal.invokers org.testng.internal.reflect org.testng.reporters org.testng.reporters.jq org.testng.util -
-
Uses of ITestResult in org.testng
Methods 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)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)voidIInvokedMethodListener. afterInvocation(IInvokedMethod method, ITestResult testResult)voidIInvokedMethodListener2. 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)voidIConfigurationListener2. beforeConfiguration(ITestResult tr)Invoked before a configuration method is invoked.voidTestListenerAdapter. beforeConfiguration(ITestResult tr)voidTestNG.ExitCodeListener. beforeConfiguration(ITestResult tr)Deprecated.voidIInvokedMethodListener. beforeInvocation(IInvokedMethod method, ITestResult testResult)voidIInvokedMethodListener2. 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)voidIConfigurationListener. onConfigurationFailure(ITestResult itr)Invoked whenever a configuration method failed.voidTestListenerAdapter. onConfigurationFailure(ITestResult itr)voidTestNG.ExitCodeListener. onConfigurationFailure(ITestResult itr)Deprecated.voidIConfigurationListener. onConfigurationSkip(ITestResult itr)Invoked whenever a configuration method was skipped.voidTestListenerAdapter. onConfigurationSkip(ITestResult itr)voidTestNG.ExitCodeListener. onConfigurationSkip(ITestResult itr)Deprecated.voidIConfigurationListener. onConfigurationSuccess(ITestResult itr)Invoked whenever a configuration method succeeded.voidTestListenerAdapter. onConfigurationSuccess(ITestResult itr)voidTestNG.ExitCodeListener. onConfigurationSuccess(ITestResult itr)Deprecated.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)voidTestNG.ExitCodeListener. onTestFailedButWithinSuccessPercentage(ITestResult result)Deprecated.voidITestListener. onTestFailure(ITestResult result)Invoked each time a test fails.voidTestListenerAdapter. onTestFailure(ITestResult tr)voidTestNG.ExitCodeListener. onTestFailure(ITestResult result)Deprecated.voidITestListener. onTestSkipped(ITestResult result)Invoked each time a test is skipped.voidTestListenerAdapter. onTestSkipped(ITestResult tr)voidTestNG.ExitCodeListener. onTestSkipped(ITestResult result)Deprecated.voidITestListener. onTestStart(ITestResult result)Invoked each time before a test will be invoked.voidTestListenerAdapter. onTestStart(ITestResult result)voidTestNG.ExitCodeListener. onTestStart(ITestResult result)Deprecated.voidITestListener. onTestSuccess(ITestResult result)Invoked each time a test succeeds.voidTestListenerAdapter. onTestSuccess(ITestResult tr)voidTestNG.ExitCodeListener. onTestSuccess(ITestResult result)Deprecated.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)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 ITestResultParameters.MethodParameters. testResultMethods in org.testng.internal that return ITestResult Modifier and Type Method Description ITestResultInvokedMethod. getTestResult()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.Set<ITestResult>ResultMap. getResults(ITestNGMethod method)java.util.Set<ITestResult>ITestResultNotifier. getSkippedTests(ITestNGMethod tm)java.util.List<ITestResult>TestMethodWorker. getTestResults()java.util.List<ITestResult>IInvoker. invokeTestMethods(ITestNGMethod testMethod, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext testContext)Invoke the given methodjava.util.List<ITestResult>Invoker. invokeTestMethods(ITestNGMethod testMethod, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> testParameters, ConfigurationGroupMethods groupMethods, java.lang.Object instance, ITestContext testContext)Invoke all the test methods.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)intTestResult. compareTo(ITestResult comparison)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.static java.lang.ObjectParameters. getInjectedParameter(java.lang.Class<?> c, java.lang.reflect.Method method, ITestContext context, ITestResult testResult)Deprecated.- This method stands deprecated as of TestNG v6.11.protected static voidMethodInvocationHelper. invokeConfigurable(java.lang.Object instance, java.lang.Object[] parameters, IConfigurable configurableInstance, java.lang.reflect.Method thisMethod, ITestResult testResult)protected static voidMethodInvocationHelper. invokeHookable(java.lang.Object testInstance, java.lang.Object[] parameters, IHookable hookable, java.lang.reflect.Method thisMethod, ITestResult testResult)Invokes therunmethod of theIHookable.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)voidExitCodeListener. onTestFailedButWithinSuccessPercentage(ITestResult result)voidExitCodeListener. onTestFailure(ITestResult result)voidExitCodeListener. onTestSkipped(ITestResult result)voidExitCodeListener. onTestStart(ITestResult result)voidExitCodeListener. onTestSuccess(ITestResult result)voidResultMap. removeResult(ITestResult r)static voidTestListenerHelper. runTestListeners(ITestResult tr, java.util.List<ITestListener> listeners)Iterates through a bunch of listeners and invokes them.Constructors in org.testng.internal with parameters of type ITestResult Constructor Description 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) -
Uses of ITestResult in org.testng.internal.invokers
Constructors 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
Methods 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.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.reporters
Fields in org.testng.reporters with type parameters of type ITestResult Modifier and Type Field Description protected static java.util.Comparator<ITestResult>EmailableReporter2.TestResult. RESULT_COMPARATOROrders test results by class name and then by method name (in lexicographic order).Methods in org.testng.reporters that return types with arguments of type ITestResult Modifier and Type Method Description java.util.List<ITestResult>EmailableReporter2.MethodResult. getResults()Methods in org.testng.reporters with parameters of type ITestResult Modifier and Type Method Description voidXMLSuiteResultWriter. addTestMethodParams(XMLStringBuffer xmlBuffer, ITestResult testResult)voidJUnitXMLReporter. beforeConfiguration(ITestResult tr)voidVerboseReporter. beforeConfiguration(ITestResult tr)protected java.lang.StringJUnitReportReporter. getTestName(ITestResult tr)voidJUnitXMLReporter. onConfigurationFailure(ITestResult itr)voidVerboseReporter. onConfigurationFailure(ITestResult tr)voidJUnitXMLReporter. onConfigurationSkip(ITestResult itr)voidVerboseReporter. onConfigurationSkip(ITestResult tr)voidJUnitXMLReporter. onConfigurationSuccess(ITestResult itr)voidVerboseReporter. onConfigurationSuccess(ITestResult tr)voidJUnitXMLReporter. onTestFailedButWithinSuccessPercentage(ITestResult tr)voidVerboseReporter. onTestFailedButWithinSuccessPercentage(ITestResult tr)voidDotTestListener. onTestFailure(ITestResult tr)voidJUnitXMLReporter. onTestFailure(ITestResult tr)Invoked each time a test fails.voidVerboseReporter. onTestFailure(ITestResult tr)voidDotTestListener. onTestSkipped(ITestResult tr)voidJUnitXMLReporter. onTestSkipped(ITestResult tr)Invoked each time a test is skipped.voidVerboseReporter. onTestSkipped(ITestResult tr)voidJUnitXMLReporter. onTestStart(ITestResult result)voidVerboseReporter. onTestStart(ITestResult tr)voidDotTestListener. onTestSuccess(ITestResult tr)voidJUnitXMLReporter. onTestSuccess(ITestResult tr)Invoked each time a test succeeds.voidVerboseReporter. onTestSuccess(ITestResult tr)Method parameters in org.testng.reporters with type arguments of type ITestResult Modifier and Type Method Description 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)protected java.util.List<EmailableReporter2.ClassResult>EmailableReporter2.TestResult. groupResults(java.util.Set<ITestResult> results)Groups test results by method and then by class.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 static 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)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)java.lang.StringModel. getTag(ITestResult tr)static java.lang.StringModel. getTestResultName(ITestResult tr) -
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.
-