Package org.testng

Class ConversionUtils


  • public class ConversionUtils
    extends Object
    Helper methods used by the Eclipse plug-in when converting tests from JUnit.
    Author:
    Cedric Beust
    • Constructor Detail

      • ConversionUtils

        public ConversionUtils()
    • Method Detail

      • wrapDataProvider

        public static Object[] wrapDataProvider​(Class cls,
                                                Collection<Object[]> data)
        Turns the output of a JUnit 4 @Parameters style data provider into one that is suitable for TestNG's @DataProvider.