nz.ac.waikato.modeljunit.gui
Class TestExeModel
java.lang.Object
nz.ac.waikato.modeljunit.gui.TestExeModel
public class TestExeModel
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COVERAGE_NUM
public static final int COVERAGE_NUM
- See Also:
- Constant Field Values
COVERAGE_MATRIX
public static final java.lang.String[] COVERAGE_MATRIX
TestExeModel
public TestExeModel()
setWalkLength
public static void setWalkLength(int length)
getWalkLength
public static int getWalkLength()
getModelClass
public static java.lang.Class<?> getModelClass()
getModelObject
public static FsmModel getModelObject()
isModelLoaded
public static boolean isModelLoaded()
resetModelToNull
public static void resetModelToNull()
- If user loaded an invalid model class, the model class and model object
have to be reset to null.
loadModelClassFromFile
public static boolean loadModelClassFromFile()
- Tries to load an instance of the current model class from a .class file.
- Returns:
- true iff successful load with no errors
setTester
public static void setTester(Tester tester,
int idx)
getTester
public static Tester getTester(int idx)
setAlgorithm
public static void setAlgorithm(IAlgorithmParameter algo)
addMethod
public static void addMethod(java.lang.reflect.Method m)
getMethodList
public static java.util.ArrayList<java.lang.reflect.Method> getMethodList()
reset
public static void reset()
runTestAuto
public static void runTestAuto()
- Generate and execute tests automatically.
This is called when the user presses the run button.
Copyright © 2009 ModelJUnit Project. All Rights Reserved.