org.multijava.util.testing
Class Main
java.lang.Object
org.multijava.util.testing.Main
- public class Main
- extends Object
This class provides utilities for automatically generating JUnit
test suites.
|
Constructor Summary |
Main()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
options
private TestingOptions options
inClasses
private String[] inClasses
out
private Main.SuiteWriter out
TAB
private static final int TAB
DEFAULT_OUT
private static final String DEFAULT_OUT
SUITE_NAME
private static final String SUITE_NAME
Main
public Main()
main
public static void main(String[] args)
- Accept command line arguments
run
public boolean run(String[] args)
- Generate JUnit test suite based on the given arguments. See
file TestingOptions.opt for more information on arguments.
- Returns:
- true iff generation is successful
parseArguments
public boolean parseArguments(String[] args)
- Processes command line arguments and sets up object state.
fixPackage
String fixPackage(String pack)
isSuite
boolean isSuite(String testCase)
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.