net.cscott.jdoctest
Class JavadocJUnitTestBridge
java.lang.Object
net.cscott.jdoctest.JavadocJUnitTestBridge
public class JavadocJUnitTestBridge
- extends Object
JUnit test bridge to generate and run the doc tests from a specific
Java source file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
klass
public final Class<?> klass
sourceFile
public final File sourceFile
JavadocJUnitTestBridge
public JavadocJUnitTestBridge(Class<?> klass,
File sourceFile)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
runDoctest
public void runDoctest()
throws IOException
- Throws:
IOException
runDoctest
public static void runDoctest(Class<?> klass,
File sourceFile)
throws IOException
- Throws:
IOException
Copyright © 2009 C. Scott Ananian