Home
last modified time | relevance | path

Searched refs:dataProvider (Results 1 – 25 of 84) sorted by relevance

1234

/external/testng/src/test/java/test/inject/
DInjectDataProviderTest.java27 @Test(dataProvider = "dp1", enabled = true)
31 @Test(dataProvider = "dp1", enabled = true)
35 @Test(dataProvider = "dp1", enabled = true)
48 @Test(dataProvider = "dp2", enabled = false)
52 @Test(dataProvider = "dp2", enabled = false)
56 @Test(dataProvider = "dp2", enabled = false)
DNoInjectionTest.java22 @Test(dataProvider = "provider")
27 @Test(dataProvider = "provider")
/external/testng/src/test/java/test/dataprovider/
DStaticDataProviderSampleTest.java13 @Test(dataProvider = "static", dataProviderClass = StaticProvider.class)
18 @Test(dataProvider = "external", dataProviderClass = NonStaticProvider.class)
23 @Test(dataProvider = "injection", dataProviderClass = FieldInjectionProvider.class)
28 @Test(dataProvider = "injection", dataProviderClass = ConstructorInjectionProvider.class)
DTestNG411SampleTest.java26 "ones passed by data provider", dataProvider = CHECK_MAX_DATA)
39 "ones passed by data provider", dataProvider = CHECK_MIN_DATA)
46 dataProvider = CHECK_MIN_DATA)
DMethodTest.java21 @Test(dataProvider = "dp1")
44 @Test(dataProvider = "dp2")
49 @Test(dataProvider = "dp2")
DDataProviderWithError.java11 @Test(dataProvider = "Data", invocationCount = 2)
16 @Test(dataProvider = "Data", invocationCount = 2, successPercentage = 10)
DTestContextSampleTest.java40 @Test(dataProvider = "testContext", groups="10")
45 @Test(dataProvider = "testContext", groups="5")
DInnexistentDataProvider.java10 @Test(dataProvider="doesnotexist")
DInheritanceBTest.java7 @Test(dataProvider = "dp")
DInheritedDataProviderTest.java8 @Test(dataProvider = "dp")
/external/testng/src/main/java/org/testng/internal/
DMethodInvocationHelper.java89 protected static Iterator<Object[]> invokeDataProvider(Object instance, Method dataProvider, in invokeDataProvider() argument
102 Class<?>[] parameterTypes = dataProvider.getParameterTypes(); in invokeDataProvider()
107 boolean isTestInstance = annotationFinder.hasTestInstance(dataProvider, i++); in invokeDataProvider()
126 sb.append("Some DataProvider ").append(dataProvider).append(" parameters unresolved: "); in invokeDataProvider()
135 Class<?> returnType = dataProvider.getReturnType(); in invokeDataProvider()
137 Object[][] originalResult = (Object[][]) invokeMethod(dataProvider, instance, parameters); in invokeDataProvider()
140 int[] indices = dataProvider.getAnnotation(DataProvider.class).indices(); in invokeDataProvider()
155 result = (Iterator<Object[]>) invokeMethod(dataProvider, instance, parameters); in invokeDataProvider()
157 throw new TestNGException("Data Provider " + dataProvider + " must return" in invokeDataProvider()
/external/jcommander/src/test/java/com/beust/jcommander/
DCmdTest.java61 @Test(dataProvider = "testData")
69 @Test(dataProvider = "testData", expectedExceptions = MissingCommandException.class)
80 @Test(dataProvider = "testData")
/external/testng/src/test/java/test/mannotation/
DMTest1.java25 dataProvider = "dp", description = "Class level description")
32 dataProvider = "dp3", description = "Constructor description",
40 dataProvider = "dp2", description = "Method description",
/external/testng/src/test/java/test/retryAnalyzer/
DInvocationCountTest.java69 private Object[][] dataProvider() { in dataProvider() method in InvocationCountTest
81 @Test(retryAnalyzer = InvocationCountTest.class, dataProvider = "dataProvider")
91 @Test(retryAnalyzer = InvocationCountTest.class, dataProvider = "dataProvider2")
/external/testng/src/test/java/test/annotationtransformer/
DAnnotationTransformerFactorySampleTest.java8 public Object[][] dataProvider() { in dataProvider() method in AnnotationTransformerFactorySampleTest
14 @Factory(dataProvider = "dp")
/external/testng/src/test/java/test/configurationfailurepolicy/
DClassWithFailedBeforeMethodAndMultipleInvocations.java15 public Object[][] dataProvider() { in dataProvider() method in ClassWithFailedBeforeMethodAndMultipleInvocations
22 @Test( dataProvider = "data.provider" )
/external/testng/src/test/java/test/parameters/
DBeforeSampleTest.java18 public static Object[][] dataProvider() { in dataProvider() method in BeforeSampleTest
22 @Test(dataProvider = "dataProvider")
/external/testng/src/main/java/org/testng/internal/annotations/
DFactoryAnnotation.java26 public void setDataProvider(String dataProvider) { in setDataProvider() argument
27 m_dataProvider = dataProvider; in setDataProvider()
DTestAnnotation.java64 public void setDataProvider(String dataProvider) { in setDataProvider() argument
65 m_dataProvider = dataProvider; in setDataProvider()
/external/testng/src/test/java/test/dependent/
DDependentWithDataProviderSampleTest.java17 @Factory( dataProvider = "prov" )
24 public static Object[][] dataProvider() in dataProvider() method in DependentWithDataProviderSampleTest
/external/testng/src/test/java/test/thread/
DDataProviderThreadPoolSizeSampleTest.java50 @Test(dataProvider = "sequentialDataProvider", groups = "sequential")
57 @Test(dataProvider = "parallelDataProvider", groups = "parallel")
/external/testng/src/test/java/test/dependent/xml/
DGroupDependencyTest.java30 @Test(dataProvider = "dp")
35 @Test(dataProvider = "dp")
/external/testng/src/main/java/org/testng/reporters/
DXMLSuiteResultWriter.java229 String dataProvider = testAnnotation.dataProvider(); in getTestResultAttributes() local
230 if (!Strings.isNullOrEmpty(dataProvider)) { in getTestResultAttributes()
231 attributes.setProperty(XMLReporterConfig.ATTR_DATA_PROVIDER, dataProvider); in getTestResultAttributes()
/external/testng/src/test/java/
DConverterSample4.java70 public Object[][] dataProvider() { in dataProvider() method in ConverterSample4
/external/testng/src/test/java/test/factory/
DFactoryDataProviderStaticSampleTest.java7 @Factory(dataProvider = "dp", dataProviderClass = DPClass.class)

1234