|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.modeljunit.gui.Parameter
public class Parameter
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_DIRECTORY
|
static int |
NUM_COVERAGE
|
Constructor Summary | |
---|---|
Parameter()
|
Method Summary | |
---|---|
static java.lang.String |
getAlgorithmName()
|
static java.lang.String |
getClassName()
|
static java.awt.Color[] |
getCoverageLineColors()
|
static boolean[] |
getCoverageOption()
|
static boolean |
getFailureVerbosity()
|
static int |
getFileChooserOpenMode()
|
static boolean |
getGenerateGraph()
|
static java.lang.String |
getModelChooserDirectory()
The absolute path to the directory that contains the .class model files. |
static java.lang.String |
getModelFolder()
The path to the directory containing the model files. |
static java.lang.String |
getModelPath()
The absolute path of the model (.class) file. |
static java.lang.String |
getPackageLocation()
The path to the top-level package directory of the model. |
static java.lang.String |
getPackageName()
The name of the Java package that contains the model. |
static double |
getResetProbability()
|
static java.lang.String |
getTestCaseVariableName()
|
static boolean |
getVerbosity()
|
static boolean |
isTestRunnable(boolean bShowErrMsg)
The function will test whether a model was loaded and whether a algorithm was selected, if both been done, return true otherwise return false |
static void |
setAlgorithmName(java.lang.String algorithmname)
|
static void |
setClassName(java.lang.String classname)
|
static void |
setCoverageLineColors(java.awt.Color[] color)
|
static void |
setCoverageOption(boolean[] options)
|
static void |
setFailureVerbosity(boolean verb)
|
static void |
setFileChooserOpenMode(int mode)
|
static void |
setGenerateGraph(boolean print)
|
static void |
setModelChooserDirectory(java.lang.String directory)
Set the absolute path (including the package directories) to the .class model files. |
static void |
setModelFolder(java.lang.String folder)
Set the path to the directory containing the model files. |
static void |
setModelPath(java.lang.String location)
Set the absolute path of the model (.class) file. |
static void |
setPackageLocation(java.lang.String location)
Set the path to the top-level package directory of the model. |
static void |
setPackageName(java.lang.String name)
The name of the Java package that contains the model. |
static void |
setResetProbability(double probability)
|
static void |
setTestCaseVariableName(java.lang.String name)
|
static void |
setVerbosity(boolean verb)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_DIRECTORY
public static final int NUM_COVERAGE
Constructor Detail |
---|
public Parameter()
Method Detail |
---|
public static java.lang.String getModelFolder()
public static void setModelFolder(java.lang.String folder)
public static java.lang.String getPackageLocation()
public static java.lang.String getPackageName()
public static void setPackageLocation(java.lang.String location)
public static void setPackageName(java.lang.String name)
public static boolean getGenerateGraph()
public static void setGenerateGraph(boolean print)
public static double getResetProbability()
public static void setResetProbability(double probability)
public static boolean getVerbosity()
public static void setVerbosity(boolean verb)
public static boolean getFailureVerbosity()
public static void setFailureVerbosity(boolean verb)
public static java.lang.String getClassName()
public static void setClassName(java.lang.String classname)
public static java.lang.String getModelPath()
public static void setModelPath(java.lang.String location)
public static java.lang.String getAlgorithmName()
public static void setAlgorithmName(java.lang.String algorithmname)
public static java.lang.String getTestCaseVariableName()
public static void setTestCaseVariableName(java.lang.String name)
public static boolean[] getCoverageOption()
public static void setCoverageOption(boolean[] options)
public static java.lang.String getModelChooserDirectory()
public static void setModelChooserDirectory(java.lang.String directory)
directory
- public static int getFileChooserOpenMode()
public static void setFileChooserOpenMode(int mode)
public static boolean isTestRunnable(boolean bShowErrMsg)
public static void setCoverageLineColors(java.awt.Color[] color)
public static java.awt.Color[] getCoverageLineColors()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |