net.cscott.jdoctest
Class JsJUnitTestBridge
java.lang.Object
net.cscott.jdoctest.JsJUnitTestBridge
- Direct Known Subclasses:
- RerunJDoctests
public class JsJUnitTestBridge
- extends Object
JUnit test bridge to re-run the doc tests in the specific javascript file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testFile
public final File testFile
JsJUnitTestBridge
public JsJUnitTestBridge(File testFile)
main
public static void main(String[] args)
runDoctest
public void runDoctest()
runDoctest
public static void runDoctest(String testFile)
runDoctest
public static void runDoctest(File testFile)
runDoctest
public static void runDoctest(String testSource,
String testText)
collectTestsFor
public static void collectTestsFor(File rootDir,
Class<?> testClass,
List<File> results)
collectAllTests
public static void collectAllTests(File testDir,
List<File> results)
Copyright © 2009 C. Scott Ananian