Package org.testng

Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestNGUtils

        public TestNGUtils()
    • 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 method
        method - The method
        Returns:
        The created test method