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
Constructor Summary |
JUnitTestConverter(java.io.File[] fileNames,
java.io.File outDir,
java.lang.String release,
boolean useAnnotations,
java.lang.String[] groups)
|
Method Summary |
int |
convert()
|
java.lang.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 |
JUnitTestConverter
public JUnitTestConverter(java.io.File[] fileNames,
java.io.File outDir,
java.lang.String release,
boolean useAnnotations,
java.lang.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 java.lang.String[] getClassNames()
Copyright © 2010. All Rights Reserved.