Uses of Interface
org.testng.ITestResult

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

Uses of ITestResult in org.testng
 

Methods in org.testng that return types with arguments of type ITestResult
 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.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()
           
 

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)
           
static java.util.List<java.lang.String> Reporter.getOutput(ITestResult tr)
           
 void TestNG.ExitCodeListener.onConfigurationFailure(ITestResult itr)
           
 void TestListenerAdapter.onConfigurationFailure(ITestResult itr)
           
 void TestNG.ExitCodeListener.onConfigurationSkip(ITestResult itr)
           
 void TestListenerAdapter.onConfigurationSkip(ITestResult itr)
           
 void TestNG.ExitCodeListener.onConfigurationSuccess(ITestResult itr)
           
 void TestListenerAdapter.onConfigurationSuccess(ITestResult itr)
           
 void TestNG.ExitCodeListener.onTestFailedButWithinSuccessPercentage(ITestResult result)
           
 void ITestListener.onTestFailedButWithinSuccessPercentage(ITestResult result)
          Invoked each time a method fails but has been annotated with successPercentage and this failure still keeps it within the success percentage requested.
 void TestListenerAdapter.onTestFailedButWithinSuccessPercentage(ITestResult tr)
           
 void TestNG.ExitCodeListener.onTestFailure(ITestResult result)
           
 void ITestListener.onTestFailure(ITestResult result)
          Invoked each time a test fails.
 void TestListenerAdapter.onTestFailure(ITestResult tr)
           
 void TestNG.ExitCodeListener.onTestSkipped(ITestResult result)
           
 void ITestListener.onTestSkipped(ITestResult result)
          Invoked each time a test is skipped.
 void TestListenerAdapter.onTestSkipped(ITestResult tr)
           
 void TestNG.ExitCodeListener.onTestStart(ITestResult result)
           
 void ITestListener.onTestStart(ITestResult result)
          Invoked each time before a test will be invoked.
 void TestListenerAdapter.onTestStart(ITestResult result)
           
 void TestNG.ExitCodeListener.onTestSuccess(ITestResult result)
           
 void ITestListener.onTestSuccess(ITestResult result)
          Invoked each time a test succeeds.
 void TestListenerAdapter.onTestSuccess(ITestResult tr)
           
 boolean IRetryAnalyzer.retry(ITestResult result)
          Returns true if the test method has to be retried, false otherwise.
 void IHookable.run(IHookCallBack callBack, ITestResult testResult)
           
 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(java.util.List<ITestResult> failedButWithinSuccessPercentageTests)
           
 void TestListenerAdapter.setFailedTests(java.util.List<ITestResult> failedTests)
           
 void TestListenerAdapter.setPassedTests(java.util.List<ITestResult> passedTests)
           
 void TestListenerAdapter.setSkippedTests(java.util.List<ITestResult> skippedTests)
           
 

Uses of ITestResult in org.testng.internal
 

Classes in org.testng.internal that implement ITestResult
 class TestResult
          This class represents the result of a test.
 

Fields in org.testng.internal with type parameters of type ITestResult
protected  java.util.List<ITestResult> TestMethodWorker.m_testResults
           
 

Methods in org.testng.internal that return types with arguments of type ITestResult
 java.util.Set<ITestResult> ResultMap.getAllResults()
           
 java.util.Set<ITestResult> ITestResultNotifier.getPassedTests(ITestNGMethod tm)
           
 java.util.Set<ITestResult> ResultMap.getResults(ITestNGMethod method)
           
 java.util.List<ITestResult> TestMethodWorker.getTestResults()
           
 java.util.List<ITestResult> IMethodWorker.getTestResults()
           
 java.util.List<ITestResult> IInvoker.invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int methodIndex, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object[] instances, ITestContext testContext)
          Invoke the given method
 java.util.List<ITestResult> Invoker.invokeTestMethods(ITestNGMethod testMethod, ITestNGMethod[] allTestMethods, int testMethodIndex, XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> parameters, ConfigurationGroupMethods groupMethods, java.lang.Object[] instances, ITestContext testContext)
          Invoke all the test methods.
 

Methods in org.testng.internal with parameters of type ITestResult
 void ITestResultNotifier.addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr)
           
 void ITestResultNotifier.addFailedTest(ITestNGMethod tm, ITestResult tr)
           
 void ITestResultNotifier.addPassedTest(ITestNGMethod tm, ITestResult tr)
           
 void ResultMap.addResult(ITestResult result, ITestNGMethod method)
           
 void ITestResultNotifier.addSkippedTest(ITestNGMethod tm, ITestResult tr)
           
static void MethodHelper.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.
 void IConfigurationListener.onConfigurationFailure(ITestResult itr)
           
 void IConfigurationListener.onConfigurationSkip(ITestResult itr)
           
 void IConfigurationListener.onConfigurationSuccess(ITestResult itr)
           
static void Invoker.runTestListeners(ITestResult tr, java.util.List<ITestListener> listeners)
           
 

Uses of ITestResult in org.testng.remote.strprotocol
 

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

Constructors in org.testng.remote.strprotocol with parameters of type ITestResult
TestResultMessage(ITestContext testCtx, ITestResult result)
           
TestResultMessage(java.lang.String suiteName, java.lang.String testName, ITestResult result)
           
 

Uses of ITestResult in org.testng.reporters
 

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

Method parameters in org.testng.reporters with type arguments of type ITestResult
static void TestHTMLReporter.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 void TestHTMLReporter.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 void TestHTMLReporter.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 void TestHTMLReporter.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 void TestHTMLReporter.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 void TestHTMLReporter.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 void TestHTMLReporter.generateTable(java.lang.StringBuffer sb, java.lang.String title, java.util.Collection<ITestResult> tests, java.lang.String cssClass, java.util.Comparator<ITestResult> comparator)
           
static void TestHTMLReporter.generateTable(java.lang.StringBuffer sb, java.lang.String title, java.util.Collection<ITestResult> tests, java.lang.String cssClass, java.util.Comparator<ITestResult> comparator)
           
 

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 © 2010. All Rights Reserved.