public class ClassMethodsDataProvider extends Object
| Constructor and Description |
|---|
ClassMethodsDataProvider(Class classToGenerateMethodsFor,
Object... realParameters) |
| Modifier and Type | Method and Description |
|---|---|
Object[][] |
getOperationMethods(Class<? extends Annotation>... methodIgnoreAnnotations)
Returns an array of methods in testng dataprovider format to invoke on the class.
|
public Object[][] getOperationMethods(Class<? extends Annotation>... methodIgnoreAnnotations) throws IllegalAccessException, InstantiationException, IOException, InvocationTargetException, NoSuchMethodException
methodIgnoreAnnotations - optional annotations to check. Methods with this annotation are not added.IllegalAccessExceptionInstantiationExceptionIOExceptionInvocationTargetExceptionNoSuchMethodExceptionCopyright © 2015. All rights reserved.