Home | History | Annotate | Download | only in dataprovider
      1 package test.dataprovider;
      2 
      3 import org.testng.annotations.DataProvider;
      4 import org.testng.annotations.Test;
      5 
      6 public class DuplicateDataProviderSampleTest {
      7 
      8   @Test(dataProvider = "duplicate")
      9   public void f() {
     10   }
     11 
     12   @DataProvider(name = "duplicate")
     13   public Object[] dp1() {
     14     return new Object[0][];
     15   }
     16 
     17   @DataProvider(name = "duplicate")
     18   public Object[] dp2() {
     19     return new Object[0][];
     20   }
     21 }
     22