Home | History | Annotate | Download | only in configurationfailurepolicy
      1 package test.configurationfailurepolicy;
      2 
      3 import org.testng.annotations.Factory;
      4 
      5 public class FactoryClassWithFailedBeforeMethodAndMultipleInvocations extends ClassWithFailedBeforeMethodAndMultipleInvocations {
      6   @Factory
      7   public Object[] createTests() {
      8     Object[] instances = new Object[2];
      9     instances[0] = new FactoryClassWithFailedBeforeMethodAndMultipleInvocations();
     10     instances[1] = new FactoryClassWithFailedBeforeMethodAndMultipleInvocations();
     11     return instances;
     12   }
     13 }
     14