Class TestNGUtils
java.lang.Object
org.testng.TestNGUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ITestNGMethodcreateITestNGMethod(ITestNGMethod existingMethod, Method method) Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.
-
Constructor Details
-
TestNGUtils
public TestNGUtils()
-
-
Method Details
-
createITestNGMethod
Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.- Parameters:
existingMethod- The test methodmethod- The method- Returns:
- The created test method
-