org.testng.junit
Class JUnitDirectoryConverter
java.lang.Object
org.testng.junit.JUnitDirectoryConverter
public class JUnitDirectoryConverter
- extends Object
Tool class scanning and converting the JUnit sources found in a directory.
- Author:
- Cedric Beust, the_mindstorm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnitDirectoryConverter
public JUnitDirectoryConverter(File srcDir,
File outDir,
String release,
boolean useAnnotation,
String[] groups)
- Sole constructor.
- Parameters:
srcDir
- path to directory containing JUnit testsoutDir
- path to output directory for the generated test sourcesuseAnnotation
- flag for JDK 1.5 annotation use. true if annotations should be
used, false if javadoc-like annotations should be userestore
- flag if the output directory should reflect the package
convert
public int convert()
Copyright © 2010. All Rights Reserved.