|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.multijava.mjc.Main.Task org.multijava.mjc.Main.TreeProcessingTask org.jmlspecs.jmlunit.Main.TestClassGenerationTask
A task for generating JML/JUnit test oracle classes.
Class Specifications |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT; public represents _getClass <- \typeof(this); |
Specifications inherited from interface Comparable |
instance public invariant ( \forall java.lang.Comparable x; x != null; x.compareTo(x) == 0); instance public invariant ( \forall java.lang.Comparable x, y; x != null&&y != null&&this.definedComparison(x,y)&&this.definedComparison(y,x); this.sgn(x.compareTo(y)) == -this.sgn(y.compareTo(x))); instance public invariant ( \forall int n; n == -1||n == 1; ( \forall java.lang.Comparable x, y, z; x != null&&y != null&&z != null&&this.definedComparison(x,y)&&this.definedComparison(y,z)&&this.definedComparison(x,z); this.sgn(x.compareTo(y)) == n&&this.sgn(y.compareTo(z)) == n ==> this.sgn(x.compareTo(z)) == n)); instance public invariant ( \forall int n; n == -1||n == 1; ( \forall java.lang.Comparable x, y, z; x != null&&y != null&&z != null&&this.definedComparison(x,y)&&this.definedComparison(y,z)&&this.definedComparison(x,z); (this.sgn(x.compareTo(y)) == 0&&this.sgn(y.compareTo(z)) == n||this.sgn(x.compareTo(y)) == n&&this.sgn(y.compareTo(z)) == 0) ==> this.sgn(x.compareTo(z)) == n)); instance public invariant ( \forall java.lang.Comparable x, y, z; x != null&&y != null&&z != null&&this.definedComparison(x,y)&&this.definedComparison(x,z)&&this.definedComparison(y,z); this.sgn(x.compareTo(y)) == 0 ==> this.sgn(x.compareTo(z)) == this.sgn(y.compareTo(z))); |
Model Field Summary |
Model fields inherited from class java.lang.Object |
_getClass, objectState, theString |
Ghost Field Summary |
Ghost fields inherited from class org.multijava.mjc.Main.Task |
completed |
Ghost fields inherited from class java.lang.Object |
objectTimesFinalized, owner |
Field Summary |
Fields inherited from class org.multijava.mjc.Main.TreeProcessingTask |
passCompletedMessage, trees |
Fields inherited from class org.multijava.mjc.Main.Task |
priority |
Constructor Summary | |
Main.TestClassGenerationTask(CompilerPassEnterable[] trees,
Object sequenceID)
|
Model Method Summary |
Model methods inherited from class java.lang.Object |
hashValue |
Model methods inherited from interface java.lang.Comparable |
definedComparison, sgn |
Method Summary | |
private boolean |
isTestable(JCompilationUnit cunit)
Returns true if it is possible to generate test classes for the given compilation unit. |
protected void |
processTree(CompilerPassEnterable tree)
|
private boolean |
testDataClassRequested(File file)
|
Methods inherited from class org.multijava.mjc.Main.TreeProcessingTask |
execute, trees |
Methods inherited from class org.multijava.mjc.Main.Task |
compareTo, priority, sequenceID, setToMainSequenceID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Main.TestClassGenerationTask(CompilerPassEnterable[] trees, Object sequenceID)
Method Detail |
private boolean isTestable(JCompilationUnit cunit)
protected void processTree(CompilerPassEnterable tree)
private boolean testDataClassRequested(File file)
|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |