org.jmlspecs.jmlunit
Class Main.TestClassGenerationTask
java.lang.Object
org.multijava.mjc.Main.Task
org.multijava.mjc.Main.TreeProcessingTask
org.jmlspecs.jmlunit.Main.TestClassGenerationTask
- All Implemented Interfaces:
- Comparable, Main.Trees
- Enclosing class:
- Main
- public class Main.TestClassGenerationTask
- extends Main.TreeProcessingTask
A task for generating JML/JUnit test oracle classes.
| Fields inherited from class org.multijava.mjc.Main.Task |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main.TestClassGenerationTask
public Main.TestClassGenerationTask(CompilerPassEnterable[] trees,
Object sequenceID)
isTestable
private boolean isTestable(JCompilationUnit cunit)
- Returns true if it is possible to generate test classes
for the given compilation unit. I.e., it has at least one
type declaration (class or interface declaration).
processTree
protected void processTree(CompilerPassEnterable tree)
testDataClassRequested
private boolean testDataClassRequested(File file)
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.