Package org.testng
Class TestNGUtils
- java.lang.Object
-
- org.testng.TestNGUtils
-
public class TestNGUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TestNGUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ITestNGMethod
createITestNGMethod(ITestNGMethod existingMethod, java.lang.reflect.Method method)
Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.
-
-
-
Method Detail
-
createITestNGMethod
public static ITestNGMethod createITestNGMethod(ITestNGMethod existingMethod, java.lang.reflect.Method method)
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
-
-