Package | Description |
---|---|
org.testng | |
org.testng.remote.strprotocol | |
org.testng.reporters | |
org.testng.util |
Modifier and Type | Method and Description |
---|---|
static ITestResult |
Reporter.getCurrentTestResult() |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
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 |
IInvokedMethodListener.afterInvocation(IInvokedMethod method,
ITestResult testResult) |
void |
SuiteRunner.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 |
IInvokedMethodListener.beforeInvocation(IInvokedMethod method,
ITestResult testResult) |
void |
SuiteRunner.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 |
TestListenerAdapter.onConfigurationFailure(ITestResult itr) |
void |
TestNG.ExitCodeListener.onConfigurationFailure(ITestResult itr) |
void |
TestListenerAdapter.onConfigurationSkip(ITestResult itr) |
void |
TestNG.ExitCodeListener.onConfigurationSkip(ITestResult itr) |
void |
TestListenerAdapter.onConfigurationSuccess(ITestResult itr) |
void |
TestNG.ExitCodeListener.onConfigurationSuccess(ITestResult itr) |
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.onTestFailedButWithinSuccessPercentage(ITestResult result) |
void |
ITestListener.onTestFailure(ITestResult result)
Invoked each time a test fails.
|
void |
TestListenerAdapter.onTestFailure(ITestResult tr) |
void |
TestNG.ExitCodeListener.onTestFailure(ITestResult result) |
void |
ITestListener.onTestSkipped(ITestResult result)
Invoked each time a test is skipped.
|
void |
TestListenerAdapter.onTestSkipped(ITestResult tr) |
void |
TestNG.ExitCodeListener.onTestSkipped(ITestResult result) |
void |
ITestListener.onTestStart(ITestResult result)
Invoked each time before a test will be invoked.
|
void |
TestListenerAdapter.onTestStart(ITestResult result) |
void |
TestNG.ExitCodeListener.onTestStart(ITestResult result) |
void |
ITestListener.onTestSuccess(ITestResult result)
Invoked each time a test succeeds.
|
void |
TestListenerAdapter.onTestSuccess(ITestResult tr) |
void |
TestNG.ExitCodeListener.onTestSuccess(ITestResult result) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
TestListenerAdapter.setFailedButWithinSuccessPercentageTests(List<ITestResult> failedButWithinSuccessPercentageTests) |
void |
TestListenerAdapter.setFailedTests(List<ITestResult> failedTests) |
void |
TestListenerAdapter.setPassedTests(List<ITestResult> passedTests) |
void |
TestListenerAdapter.setSkippedTests(List<ITestResult> skippedTests) |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLSuiteResultWriter.addTestMethodParams(XMLStringBuffer xmlBuffer,
ITestResult testResult) |
void |
JUnitXMLReporter.onConfigurationFailure(ITestResult itr) |
void |
JUnitXMLReporter2.onConfigurationFailure(ITestResult itr) |
void |
JUnitXMLReporter.onConfigurationSkip(ITestResult itr) |
void |
JUnitXMLReporter2.onConfigurationSkip(ITestResult itr) |
void |
JUnitXMLReporter.onConfigurationSuccess(ITestResult itr) |
void |
JUnitXMLReporter2.onConfigurationSuccess(ITestResult itr) |
void |
JUnitXMLReporter.onTestFailedButWithinSuccessPercentage(ITestResult tr) |
void |
JUnitXMLReporter2.onTestFailedButWithinSuccessPercentage(ITestResult tr) |
void |
JUnitXMLReporter.onTestFailure(ITestResult tr)
Invoked each time a test fails.
|
void |
DotTestListener.onTestFailure(ITestResult tr) |
void |
JUnitXMLReporter2.onTestFailure(ITestResult tr)
Invoked each time a test fails.
|
void |
JUnitXMLReporter.onTestSkipped(ITestResult tr)
Invoked each time a test is skipped.
|
void |
DotTestListener.onTestSkipped(ITestResult tr) |
void |
JUnitXMLReporter2.onTestSkipped(ITestResult tr)
Invoked each time a test is skipped.
|
void |
JUnitXMLReporter.onTestStart(ITestResult result) |
void |
JUnitXMLReporter2.onTestStart(ITestResult result) |
void |
JUnitXMLReporter.onTestSuccess(ITestResult tr)
Invoked each time a test succeeds.
|
void |
DotTestListener.onTestSuccess(ITestResult tr) |
void |
JUnitXMLReporter2.onTestSuccess(ITestResult tr)
Invoked each time a test succeeds.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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 © 2012. All Rights Reserved.