|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.jet.gui.tester.JUnitExporter
public class JUnitExporter
A utility class to export generated test cases as JUnit tests. The produced JUnit test classes can be compiled and executed independently of the ET tool. This class can be used to export (1) all the test cases of a set of methods, and (2) a chosen set of test cases of a method (refer to the public APIs for details).
| Constructor Summary | |
|---|---|
protected |
JUnitExporter(edu.utep.cs.jet.gui.tester.EtTestCase[] testcases,
File file)
Creates a JUnit exporter to export the given set of test cases of the given method to the given file. |
protected |
JUnitExporter(List<edu.utep.cs.jet.gui.tester.EtMethod> methods,
File file)
Creates a JUnit exporter to export all the test cases of the given method to the given file. |
| Method Summary | |
|---|---|
void |
export()
Exports test cases as a JUnit test class. |
static void |
export(edu.utep.cs.jet.gui.tester.EtTestCase[] testcases,
File dir)
Exports the given test cases of the given method as JUnit tests. |
static void |
export(List<edu.utep.cs.jet.gui.tester.EtMethod> methods,
File dir)
Exports all the test cases of the given methods as JUnit tests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JUnitExporter(List<edu.utep.cs.jet.gui.tester.EtMethod> methods,
File file)
protected JUnitExporter(edu.utep.cs.jet.gui.tester.EtTestCase[] testcases,
File file)
| Method Detail |
|---|
public static void export(List<edu.utep.cs.jet.gui.tester.EtMethod> methods,
File dir)
public static void export(edu.utep.cs.jet.gui.tester.EtTestCase[] testcases,
File dir)
public void export()
throws IOException
IOException
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||