package test.preserveorder; import org.testng.annotations.Test; @Test(singleThreaded=true) public class PrgTest { @Test public void prg1() { // System.out.println("prg1"); // try { // Thread.sleep(1); // } catch (InterruptedException e) { // // TODO Auto-generated catch block // e.printStackTrace(); // } } @Test public void prg2() { // System.out.println("prg2"); } }