34 lines
1020 B
Java
34 lines
1020 B
Java
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;
|
|
|
|
public interface ITestResultNotifier {
|
|
void addFailedButWithinSuccessPercentageTest(ITestNGMethod iTestNGMethod, ITestResult iTestResult);
|
|
|
|
void addFailedTest(ITestNGMethod iTestNGMethod, ITestResult iTestResult);
|
|
|
|
void addInvokedMethod(InvokedMethod invokedMethod);
|
|
|
|
void addPassedTest(ITestNGMethod iTestNGMethod, ITestResult iTestResult);
|
|
|
|
void addSkippedTest(ITestNGMethod iTestNGMethod, ITestResult iTestResult);
|
|
|
|
List<IConfigurationListener> getConfigurationListeners();
|
|
|
|
Set<ITestResult> getFailedTests(ITestNGMethod iTestNGMethod);
|
|
|
|
Set<ITestResult> getPassedTests(ITestNGMethod iTestNGMethod);
|
|
|
|
Set<ITestResult> getSkippedTests(ITestNGMethod iTestNGMethod);
|
|
|
|
XmlTest getTest();
|
|
|
|
List<ITestListener> getTestListeners();
|
|
}
|