Package org.testng

Class ConversionUtils

java.lang.Object
org.testng.ConversionUtils

@Deprecated public class ConversionUtils extends Object
Deprecated.
Helper methods used by the Eclipse plug-in when converting tests from JUnit.
  • Constructor Details

    • ConversionUtils

      public ConversionUtils()
      Deprecated.
  • Method Details

    • wrapDataProvider

      public static Object[] wrapDataProvider(Class<?> cls, Collection<Object[]> data)
      Deprecated.
      Turns the output of a JUnit 4 @Parameters style data provider into one that is suitable for TestNG's @DataProvider.
      Parameters:
      cls - The class to create
      data - The parameters list
      Returns:
      Collection of class instance