Package org.testng
Class ConversionUtils
- java.lang.Object
-
- org.testng.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.
-
-
-
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 createdata
- The parameters list- Returns:
- Collection of class instance
-
-