org.testng
Class ConversionUtils

java.lang.Object
  extended by org.testng.ConversionUtils

public class ConversionUtils
extends Object

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

Author:
Cedric Beust

Constructor Summary
ConversionUtils()
           
 
Method Summary
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.
 
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 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.



Copyright © 2011. All Rights Reserved.