org.testng.junit
Class JUnitTestConverter

java.lang.Object
  extended by com.sun.javadoc.Doclet
      extended by org.testng.junit.JUnitTestConverter

public class JUnitTestConverter
extends com.sun.javadoc.Doclet

This class converts a file to TestNG if it's a JUnit test class.

Author:
Cedric Beust, the_mindstorm

Constructor Summary
JUnitTestConverter(File[] fileNames, File outDir, String release, boolean useAnnotations, String[] groups)
           
 
Method Summary
 int convert()
           
 String[] getClassNames()
           
static boolean start(com.sun.javadoc.RootDoc root)
          This method is required for all doclets.
 
Methods inherited from class com.sun.javadoc.Doclet
languageVersion, optionLength, validOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestConverter

public JUnitTestConverter(File[] fileNames,
                          File outDir,
                          String release,
                          boolean useAnnotations,
                          String[] groups)
Parameters:
fileNames -
Method Detail

start

public static boolean start(com.sun.javadoc.RootDoc root)
This method is required for all doclets.

Returns:
true on success.

convert

public int convert()

getClassNames

public String[] getClassNames()


Copyright © 2010. All Rights Reserved.