Package org.testng.annotations
Interface IDataProviderAnnotation
- All Superinterfaces:
IAnnotation
- All Known Implementing Classes:
DataProviderAnnotation
Encapsulate the @DataProvider / @testng.data-provider annotation
-
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanWhether this data provider should be used in parallel.voidsetIndices(List<Integer> indices) voidvoidsetParallel(boolean parallel)
-
Method Details
-
getName
String getName()- Returns:
- The name of this DataProvider.
-
setName
-
isParallel
boolean isParallel()Whether this data provider should be used in parallel.- Returns:
- true if in parallel
-
setParallel
void setParallel(boolean parallel) -
getIndices
-
setIndices
-