blob: 8ba6c590f079cc3ee11ae378117d353ba8241b5e [file] [log] [blame]
package test.factory;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Factory;
public class FactoryDataProviderWithNoArgCtorSampleErrorTest extends BaseFactory {
public FactoryDataProviderWithNoArgCtorSampleErrorTest() {
super(0);
}
@Factory(dataProvider = "dp")
public FactoryDataProviderWithNoArgCtorSampleErrorTest(int n) {
super(n);
}
@DataProvider
public Object[][] dp() {
return new Object[][] {
new Object[] { 45 },
new Object[] { 46 },
};
}
}