Package org.testng

Class ConversionUtils


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

      Constructors 
      Constructor Description
      ConversionUtils()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.Object[] wrapDataProvider​(java.lang.Class<?> cls, java.util.Collection<java.lang.Object[]> data)
      Deprecated.
      Turns the output of a JUnit 4 @Parameters style data provider into one that is suitable for TestNG's @DataProvider.
      • Methods inherited from class java.lang.Object

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

      • ConversionUtils

        public ConversionUtils()
        Deprecated.
    • Method Detail

      • wrapDataProvider

        public static java.lang.Object[] wrapDataProvider​(java.lang.Class<?> cls,
                                                          java.util.Collection<java.lang.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