Top Constructors Methods
org.testng

public Class TestNGUtils

extends Object
Class Inheritance
Imports
java.lang.reflect.Method, org.testng.internal.ClonedMethod

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ITestNGMethod

Returns:

The created test method
createITestNGMethod
(ITestNGMethod
The test method
existingMethod
,
Method
The method
method
)

Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TestNGUtilsback to summary
public TestNGUtils()

Method Detail

createITestNGMethodback to summary
public static ITestNGMethod createITestNGMethod(ITestNGMethod existingMethod, Method method)

Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.

Parameters
existingMethod:ITestNGMethod

The test method

method:Method

The method

Returns:ITestNGMethod

The created test method