-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTest5.java
More file actions
42 lines (26 loc) · 761 Bytes
/
Test5.java
File metadata and controls
42 lines (26 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package testng;
import org.testng.ITestContext;
import org.testng.ITestListener;
import org.testng.ITestResult;
import org.testng.Reporter;
public class Test5 implements ITestListener{
public void onTestStart(ITestResult result) {
Reporter.log("Teststarted,true");
}
public void onTestSuccess(ITestResult result) {
Reporter.log("Testsuccess",true);
}
public void onTestFailure(ITestResult result) {
Reporter.log("Testfailed",true);
}
public void onTestSkipped(ITestResult result) {
}
public void onTestFailedButWithinSuccessPercentage(ITestResult result) {
}
public void onTestFailedWithTimeout(ITestResult result) {
}
public void onStart(ITestContext context) {
}
public void onFinish(ITestContext context) {
}
}