JML

Uses of Class
org.jmlspecs.jmlunit.TestClassGenerator.Parameter

Packages that use TestClassGenerator.Parameter
org.jmlspecs.jmlunit Generates JUnit test classes from JML specifications. 
 

Uses of TestClassGenerator.Parameter in org.jmlspecs.jmlunit
 

Fields in org.jmlspecs.jmlunit declared as TestClassGenerator.Parameter
private  TestClassGenerator.Parameter[] TestClassGenerator.MethodInfo.params
          The method's parameters
 

Methods in org.jmlspecs.jmlunit that return TestClassGenerator.Parameter
private  TestClassGenerator.Parameter[] TestClassGenerator.filterParameters(JFormalParameter[] p)
          Returns an array of original formal parameters, i.e., those not generated by the type checker.
private  TestClassGenerator.Parameter[] TestClassGenerator.generateParameters(CSpecializedType[] p)
          Returns an array of formal parameters for given parameter types, p.
 TestClassGenerator.Parameter[] TestClassGenerator.MethodInfo.parameters()
          Return this method's parameters
 

Methods in org.jmlspecs.jmlunit with parameters of type TestClassGenerator.Parameter
private  void TestClassGenerator.printAddMethodFor(TestClassGenerator.MethodInfo mdecl, String mname, String className, TestClassGenerator.Parameter[] params, TestClassGenerator.Parameter receiver, boolean isInstance, boolean isConstructor)
          Prints a method to add the test cases for the given method to a test suite.
private  void TestClassGenerator.printBodyLoopControl(String mname, TestClassGenerator.Parameter param, int paramNum, int loopsThisSurrounds)
          Print the loop control statements for the body of adding tests for a method.
private  void TestClassGenerator.printInnerVarDecl(String mname, TestClassGenerator.Parameter param, int paramNum)
          Print the declaration of a final variable for this parameter.
private  void TestClassGenerator.generateNestedTestClassFor(TestClassGenerator.MethodInfo mdecl, String mname, String className, TestClassGenerator.Parameter[] params, TestClassGenerator.Parameter receiver, boolean isInstance, boolean isConstructor)
          Generates and prints a test class for the given method declaration, mdecl.
private  void TestClassGenerator.printTestClassFieldDecl(TestClassGenerator.Parameter param, int paramNum)
          Print the declaration of a field for this parameter.
private  void TestClassGenerator.printTestClassArgumentDecl(TestClassGenerator.Parameter param)
          Print declaration of an argument.
private  void TestClassGenerator.printTestClassConstrAssign(TestClassGenerator.Parameter param)
          Print the assignment of a parameter to a field.
private  void TestClassGenerator.printTestClassDoCall(String mname, TestClassGenerator.Parameter[] params, TestClassGenerator.Parameter receiver, boolean isInstance, boolean isConstructor)
          Print the doCall method.
private  void TestClassGenerator.printTestClassFailMessage(TestClassGenerator.MethodInfo mdecl, String mname, TestClassGenerator.Parameter[] params, TestClassGenerator.Parameter receiver, boolean isInstance, boolean isConstructor)
          Print the doCall method.
protected  void TestClassGenerator.composeFailMessage(TestClassGenerator.MethodInfo mdecl, String mname, TestClassGenerator.Parameter[] params, TestClassGenerator.Parameter receiver, boolean isInstance, boolean isConstructor)
          Generates code that composes a message about the method and parameters.
 


JML

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.