Uses of Interface
org.testng.ITestResult

Packages that use ITestResult
org.testng   
org.testng.remote.strprotocol   
org.testng.reporters   
org.testng.reporters.jq   
org.testng.util   
 

Uses of ITestResult in org.testng
 

Methods in org.testng that return ITestResult
static ITestResult Reporter.getCurrentTestResult()
           
 ITestResult IInvokedMethod.getTestResult()
           
 

Methods in org.testng that return types with arguments of type ITestResult
 Set<ITestResult> IResultMap.getAllResults()
           
 List<ITestResult> TestListenerAdapter.getConfigurationFailures()
           
 List<ITestResult> TestListenerAdapter.getConfigurationSkips()
           
 List<ITestResult> TestListenerAdapter.getFailedButWithinSuccessPercentageTests()
           
 List<ITestResult> TestListenerAdapter.getFailedTests()
           
 Set<ITestResult> TestRunner.getFailedTests(ITestNGMethod tm)
           
 List<ITestResult> TestListenerAdapter.getPassedTests()
           
 Set<ITestResult> TestRunner.getPassedTests(ITestNGMethod tm)
           
 Set<ITestResult> IResultMap.getResults(ITestNGMethod method)
           
 List<ITestResult> TestListenerAdapter.getSkippedTests()
           
 Set<ITestResult> TestRunner.getSkippedTests(ITestNGMethod tm)
           
 

Methods in org.testng with parameters of type ITestResult
 void 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, ITestNGMethod method)
           
 void TestRunner.addSkippedTest(ITestNGMethod tm, ITestResult tr)
           
 void SuiteRunner.afterInvocation(IInvokedMethod method, ITestResult testResult)
           
 void IInvokedMethodListener.afterInvocation(IInvokedMethod method, ITestResult testResult)
           
 void IInvokedMethodListener2.afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
          To be implemented if the method needs a handle to contextual information.
 void TestNG.ExitCodeListener.beforeConfiguration(ITestResult tr)
           
 void TestListenerAdapter.beforeConfiguration(ITestResult tr)
           
 void IConfigurationListener2.beforeConfiguration(ITestResult tr)
          Invoked before a configuration method is invoked.
 void SuiteRunner.beforeInvocation(IInvokedMethod method, ITestResult testResult)
           
 void IInvokedMethodListener.beforeInvocation(IInvokedMethod method, ITestResult testResult)
           
 void IInvokedMethodListener2.beforeInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
          To be implemented if the method needs a handle to contextual information.
static List<String> Reporter.getOutput(ITestResult tr)
           
 void TestNG.ExitCodeListener.onConfigurationFailure(ITestResult itr)
           
 void TestListenerAdapter.onConfigurationFailure(ITestResult itr)
           
 void IConfigurationListener.onConfigurationFailure(ITestResult itr)
          Invoked whenever a configuration method failed.
 void TestNG.ExitCodeListener.onConfigurationSkip(ITestResult itr)
           
 void TestListenerAdapter.onConfigurationSkip(ITestResult itr)
           
 void IConfigurationListener.onConfigurationSkip(ITestResult itr)
          Invoked whenever a configuration method was skipped.
 void TestNG.ExitCodeListener.onConfigurationSuccess(ITestResult itr)
           
 void TestListenerAdapter.onConfigurationSuccess(ITestResult itr)
           
 void IConfigurationListener.onConfigurationSuccess(ITestResult itr)
          Invoked whenever a configuration method succeeded.
 void TestNG.ExitCodeListener.onTestFailedButWithinSuccessPercentage(ITestResult result)
           
 void TestListenerAdapter.onTestFailedButWithinSuccessPercentage(ITestResult tr)
           
 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 TestNG.ExitCodeListener.onTestFailure(ITestResult result)
           
 void TestListenerAdapter.onTestFailure(ITestResult tr)
           
 void ITestListener.onTestFailure(ITestResult result)
          Invoked each time a test fails.
 void TestNG.ExitCodeListener.onTestSkipped(ITestResult result)
           
 void TestListenerAdapter.onTestSkipped(ITestResult tr)
           
 void ITestListener.onTestSkipped(ITestResult result)
          Invoked each time a test is skipped.
 void TestNG.ExitCodeListener.onTestStart(ITestResult result)
           
 void TestListenerAdapter.onTestStart(ITestResult result)
           
 void ITestListener.onTestStart(ITestResult result)
          Invoked each time before a test will be invoked.
 void TestNG.ExitCodeListener.onTestSuccess(ITestResult result)
           
 void TestListenerAdapter.onTestSuccess(ITestResult tr)
           
 void ITestListener.onTestSuccess(ITestResult result)
          Invoked each time a test succeeds.
 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)
           
 

Method parameters in org.testng with type arguments of type ITestResult
 void 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.remote.strprotocol
 

Methods in org.testng.remote.strprotocol with parameters of type ITestResult
 void RemoteTestListener.beforeConfiguration(ITestResult tr)
           
 void RemoteTestListener.onConfigurationFailure(ITestResult itr)
           
 void RemoteTestListener.onConfigurationSkip(ITestResult itr)
           
 void RemoteTestListener.onConfigurationSuccess(ITestResult itr)
           
 void RemoteTestListener.onTestFailedButWithinSuccessPercentage(ITestResult testResult)
           
 void RemoteTestListener.onTestFailure(ITestResult testResult)
           
 void RemoteTestListener.onTestSkipped(ITestResult testResult)
           
 void RemoteTestListener.onTestStart(ITestResult testResult)
           
 void RemoteTestListener.onTestSuccess(ITestResult testResult)
           
 

Constructors in org.testng.remote.strprotocol with parameters of type ITestResult
TestResultMessage(ITestContext testCtx, ITestResult result)
           
TestResultMessage(String suiteName, String testName, ITestResult result)
          This constructor is used by RemoteTestNG to initialize a result message from an ITestResult.
 

Uses of ITestResult in org.testng.reporters
 

Fields in org.testng.reporters with type parameters of type ITestResult
protected static Comparator<ITestResult> EmailableReporter2.TestResult.RESULT_COMPARATOR
          Orders 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
 List<ITestResult> EmailableReporter2.MethodResult.getResults()
           
 

Methods in org.testng.reporters with parameters of type ITestResult
 void XMLSuiteResultWriter.addTestMethodParams(XMLStringBuffer xmlBuffer, ITestResult testResult)
           
 void VerboseReporter.beforeConfiguration(ITestResult tr)
           
 void JUnitXMLReporter.beforeConfiguration(ITestResult tr)
           
protected  String JUnitReportReporter.getTestName(ITestResult tr)
           
 void VerboseReporter.onConfigurationFailure(ITestResult tr)
           
 void JUnitXMLReporter.onConfigurationFailure(ITestResult itr)
           
 void VerboseReporter.onConfigurationSkip(ITestResult tr)
           
 void JUnitXMLReporter.onConfigurationSkip(ITestResult itr)
           
 void VerboseReporter.onConfigurationSuccess(ITestResult tr)
           
 void JUnitXMLReporter.onConfigurationSuccess(ITestResult itr)
           
 void VerboseReporter.onTestFailedButWithinSuccessPercentage(ITestResult tr)
           
 void JUnitXMLReporter.onTestFailedButWithinSuccessPercentage(ITestResult tr)
           
 void VerboseReporter.onTestFailure(ITestResult tr)
           
 void JUnitXMLReporter.onTestFailure(ITestResult tr)
          Invoked each time a test fails.
 void DotTestListener.onTestFailure(ITestResult tr)
           
 void VerboseReporter.onTestSkipped(ITestResult tr)
           
 void JUnitXMLReporter.onTestSkipped(ITestResult tr)
          Invoked each time a test is skipped.
 void DotTestListener.onTestSkipped(ITestResult tr)
           
 void VerboseReporter.onTestStart(ITestResult tr)
           
 void JUnitXMLReporter.onTestStart(ITestResult result)
           
 void VerboseReporter.onTestSuccess(ITestResult tr)
           
 void JUnitXMLReporter.onTestSuccess(ITestResult tr)
          Invoked each time a test succeeds.
 void DotTestListener.onTestSuccess(ITestResult tr)
           
 

Method parameters in org.testng.reporters with type arguments of type ITestResult
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.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.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.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.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.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(StringBuffer sb, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator)
           
static void TestHTMLReporter.generateTable(StringBuffer sb, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator)
           
protected  List<EmailableReporter2.ClassResult> EmailableReporter2.TestResult.groupResults(Set<ITestResult> results)
          Groups test results by method and then by class.
 

Constructor parameters in org.testng.reporters with type arguments of type ITestResult
EmailableReporter2.MethodResult(List<ITestResult> results)
           
 

Uses of ITestResult in org.testng.reporters.jq
 

Fields in org.testng.reporters.jq with type parameters of type ITestResult
static Comparator<ITestResult> ResultsByClass.METHOD_NAME_COMPARATOR
           
 

Methods in org.testng.reporters.jq that return types with arguments of type ITestResult
 List<ITestResult> Model.getAllFailedResults()
           
 List<ITestResult> Model.getAllTestResults(ISuite suite)
           
 List<ITestResult> Model.getAllTestResults(ISuite suite, boolean testsOnly)
           
 List<ITestResult> ResultsByClass.getResults(Class<?> c)
           
 List<ITestResult> Model.getTestResults(ISuite suite)
           
 

Methods in org.testng.reporters.jq with parameters of type ITestResult
 void ResultsByClass.addResult(Class<?> c, ITestResult tr)
           
 String Model.getTag(ITestResult tr)
           
static String Model.getTestResultName(ITestResult tr)
           
 

Uses of ITestResult in org.testng.util
 

Methods in org.testng.util with parameters of type ITestResult
 boolean 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.
 



Copyright © 2015. All Rights Reserved.