jdoctest 1.5

net.cscott.jdoctest
Class JavadocJUnitTestBridge

java.lang.Object
  extended by 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.


Field Summary
 Class<?> klass
           
 File sourceFile
           
 
Constructor Summary
JavadocJUnitTestBridge(Class<?> klass, File sourceFile)
           
 
Method Summary
static void main(String[] args)
           
 void runDoctest()
           
static void runDoctest(Class<?> klass, File sourceFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

klass

public final Class<?> klass

sourceFile

public final File sourceFile
Constructor Detail

JavadocJUnitTestBridge

public JavadocJUnitTestBridge(Class<?> klass,
                              File sourceFile)
Method Detail

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

jdoctest 1.5

Copyright © 2009 C. Scott Ananian