org.testng.junit
Class JUnitTestConverter
java.lang.Object
com.sun.javadoc.Doclet
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
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 |
JUnitTestConverter
public JUnitTestConverter(File[] fileNames,
File outDir,
String release,
boolean useAnnotations,
String[] groups)
- Parameters:
fileNames
-
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.