org.testng.internal.ITestResultNotifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.internal;
import org.testng.IConfigurationListener;
import org.testng.ITestListener;
import org.testng.ITestNGMethod;
import org.testng.ITestResult;
import org.testng.xml.XmlTest;
import java.util.List;
import java.util.Set;
/**
* An interface defining the notification for @Test results and also
* @Configuration results.
*
* @author Cedric Beust
* @author Alexandru Popescu
*/
public interface ITestResultNotifier {
Set getPassedTests(ITestNGMethod tm);
Set getFailedTests(ITestNGMethod tm);
Set getSkippedTests(ITestNGMethod tm);
void addPassedTest(ITestNGMethod tm, ITestResult tr);
void addSkippedTest(ITestNGMethod tm, ITestResult tr);
void addFailedTest(ITestNGMethod tm, ITestResult tr);
void addFailedButWithinSuccessPercentageTest(ITestNGMethod tm, ITestResult tr);
void addInvokedMethod(InvokedMethod im);
XmlTest getTest();
List getTestListeners();
List getConfigurationListeners();
}