Package org.testng
Class TestNGUtils
java.lang.Object
org.testng.TestNGUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ITestNGMethod
createITestNGMethod
(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
-