ConversionUtils (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Class ConversionUtils

    java.lang.Object
      org.testng.ConversionUtils

    public class ConversionUtils

extends java.lang.Object

Helper methods used by the Eclipse plug-in when converting tests from JUnit.

Author:
  Cedric Beust

Constructor Summary
`ConversionUtils()`

Method Summary
`static java.lang.Object[]` | `wrapDataProvider(java.lang.Class cls, java.util.Collection<java.lang.Object[]> data)` 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()

Method Detail

### wrapDataProvider

    public static java.lang.Object[] wrapDataProvider(java.lang.Class cls,
                                                      java.util.Collection<java.lang.Object[]> data)

  Turns the output of a JUnit 4 @Parameters style data provider into one that is suitable for TestNG's @DataProvider.

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD