package com.example.testng;
import org.testng.annotations.Test;
public class TestNG {
@Test
public void test1() {
System.out.println("Start of test 1");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 1");
}
}
@Test
public void test2() {
System.out.println("Start of test 2");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 2");
}
}
@Test
public void test3() {
System.out.println("Start of test 3");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 3");
}
}
@Test
public void test4() {
System.out.println("Start of test 4");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 4");
}
}
@Test
public void test5() {
System.out.println("Start of test 5");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 5");
}
}
@Test
public void test6() {
System.out.println("Start of test 6");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 6");
}
}
@Test
public void test7() {
System.out.println("Start of test 7");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 7");
}
}
@Test
public void test8() {
System.out.println("Start of test 8");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 8");
}
}
@Test
public void test9() {
System.out.println("Start of test 9");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 9");
}
}
@Test
public void test10() {
System.out.println("Start of test 10");
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
System.out.println("End of test 10");
}
}
}