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
The newest version!
package org.testng.internal;
import java.util.List;
import java.util.Set;
import org.testng.IConfigurationListener;
import org.testng.ITestListener;
import org.testng.ITestNGMethod;
import org.testng.ITestResult;
import org.testng.xml.XmlTest;
/**
* An interface defining the notification for @Test results and also @Configuration
* results.
*/
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);
XmlTest getTest();
List getTestListeners();
List getConfigurationListeners();
ITestListener getExitCodeListener();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy