Home | History | Annotate | Download | only in interleavedorder
      1 package test.interleavedorder;
      2 
      3 import org.testng.annotations.AfterClass;
      4 import org.testng.annotations.BeforeClass;
      5 
      6 
      7 public class TestChild2 extends BaseTestClass {
      8   @BeforeClass
      9   public void beforeTestChildTwoClass() {
     10     ppp("beforeTestChild2Class");
     11     InterleavedInvocationTest.LOG.add("beforeTestChild2Class");
     12   }
     13 
     14   @AfterClass
     15   public void afterTestChildTwoClass() {
     16     ppp("afterTestChild2Class");
     17     InterleavedInvocationTest.LOG.add("afterTestChild2Class");
     18   }
     19 
     20   private void ppp(String s) {
     21     if (false) {
     22       System.out.println("[TestChild2] " + s);
     23     }
     24   }
     25 
     26 }
     27