Home | History | Annotate | Download | only in dependent
      1 package test.dependent;
      2 
      3 import org.testng.Assert;
      4 import org.testng.annotations.Test;
      5 
      6 public class ClassWide2Test {
      7 
      8 //  @Test(dependsOnMethods = {"m1" })
      9   @Test(dependsOnMethods = {"test.dependent.ClassWide1Test.m1" })
     10   public void m2() {
     11     Assert.assertTrue(ClassWide1Test.m1WasRun());
     12   }
     13 
     14 //  @Test
     15 //  public void m1() {
     16 //
     17 //  }
     18 
     19 }
     20