1 package test.interleavedorder; 2 3 import org.testng.annotations.Test; 4 5 6 public class BaseTestClass { 7 @Test testOne()8 public void testOne() { 9 ppp("test1"); 10 InterleavedInvocationTest.LOG.add("test1"); 11 } 12 13 @Test testTwo()14 public void testTwo() { 15 ppp("test2"); 16 InterleavedInvocationTest.LOG.add("test2"); 17 } 18 ppp(String s)19 private void ppp(String s) { 20 if (false) { 21 System.out.println(getClass().toString() + " " + s); 22 } 23 } 24 25 } 26