All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.TestNGUtils Maven / Gradle / Ivy

There is a newer version: 7.10.2
Show newest version
package org.testng;

import org.testng.internal.ClonedMethod;

import java.lang.reflect.Method;

public class TestNGUtils {

  /**
   * Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong
   * to the same class.
   */
  public static ITestNGMethod createITestNGMethod(ITestNGMethod existingMethod, Method method) {
    return new ClonedMethod(existingMethod, method);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy