|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.mbt.Keywords
public class Keywords
Handles the common constants for the org.tigris.mbt package. This includes reserved key words, and text strings used for storing custom data as UserDatum in graphs, vertices and edges.
| Field Summary | |
|---|---|
static String |
ACTIONS_KEY
This datum contains the actions used by an edge in EFSM models. |
static String |
BACKTRACK
An edge with the key word BACKTRACK is used to enable a simple logic that enables a end user to backtrack in the graph to the previous vertex. |
static String |
BLOCKED
A vertex or an edge with the key word BLOCKED, will not participate in the resulting (merged) graph, end thus be excluded. |
static int |
CONDITION_EDGE_COVERAGE
|
static int |
CONDITION_NEVER
|
static int |
CONDITION_REACHED_EDGE
|
static int |
CONDITION_REACHED_REQUIREMENT
|
static int |
CONDITION_REACHED_STATE
|
static int |
CONDITION_REQUIREMENT_COVERAGE
|
static int |
CONDITION_STATE_COVERAGE
|
static int |
CONDITION_TEST_DURATION
|
static int |
CONDITION_TEST_LENGTH
|
static String |
DIJKSTRA
This datum contains the dijkstra object used to find the shortest path in models. |
static String |
FILE_KEY
When merging graphs, the source file of each graph is noted, so that in the event of an error, the correct graph file can be used in meaningful error messages to the end user. |
static String |
FULL_LABEL_KEY
This datum contain the complete text hold by a label. |
static int |
GENERATOR_LIST
|
static int |
GENERATOR_RANDOM
|
static int |
GENERATOR_REQUIREMENTS
|
static int |
GENERATOR_SHORTEST
|
static int |
GENERATOR_STUB
|
static String |
GUARD_KEY
This datum contains the label guard used by an edge in EFSM models. |
static String |
HEIGHT_KEY
The graph editor yEd, can use images to depict vertices, which normally gets lost during merging. |
static String |
ID_KEY
The id taken from the graphml file. |
static String |
IMAGE_KEY
The graph editor yEd, can use images to depict vertices, which normally gets lost during merging. |
static String |
INDEX_KEY
The datum provides the edge or vertex a unique integer number, uniquely identifying the object. |
static String |
LABEL_KEY
The name of the vertex or edge, that will result in a method or function call in the executing test tool. |
static String |
MERGE
This datum is used by MBT when merging graphs. |
static String |
MERGED_BY_MBT
Used internally by MBT. |
static String |
MOTHER_GRAPH_START_VERTEX
Used internally by MBT. |
static String |
NO_MERGE
This datum is used by MBT when merging graphs. |
static String |
PARAMETER_KEY
This datum contains the label parameter used by an edge in EFSM models. |
static String |
REQTAG_KEY
This datum contains the requirement tag which can be set in a vertex or edge. |
static String |
START_NODE
Each graph has a start (entry) vertex, and that vertex holds this datum. |
static String |
STOP_NODE
The stop (exit) vertex denotes an exit point in a graph. |
static String |
SUBGRAPH_START_VERTEX
Used internally by MBT. |
static String |
WEIGHT_KEY
Used by MBT during random walks during test sequence generation. |
static String |
WIDTH_KEY
The graph editor yEd, can use images to depict vertices, which normally gets lost during merging. |
static String |
VISITED_KEY
This datum contains a counter for each vertex and edge. |
| Constructor Summary | |
|---|---|
Keywords()
|
|
| Method Summary | |
|---|---|
static int |
getGenerator(String generator)
|
static Set |
getGenerators()
|
static int |
getStopCondition(String stopCondition)
|
static Set |
getStopConditions()
|
static boolean |
isGenerator(String presumedGenerator)
|
static boolean |
isKeyWord(String wordToCheck)
Returns true if the wordToCheck is a pre-defined key word. |
static boolean |
isStopCondition(String presumedCondition)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String START_NODE
public static final String STOP_NODE
public static final String ID_KEY
public static final String IMAGE_KEY
public static final String WIDTH_KEY
public static final String HEIGHT_KEY
public static final String FILE_KEY
public static final String LABEL_KEY
public static final String FULL_LABEL_KEY
public static final String VISITED_KEY
public static final String WEIGHT_KEY
public static final String INDEX_KEY
public static final String MERGE
public static final String NO_MERGE
public static final String MERGED_BY_MBT
public static final String MOTHER_GRAPH_START_VERTEX
public static final String SUBGRAPH_START_VERTEX
public static final String BLOCKED
public static final String BACKTRACK
public static final String PARAMETER_KEY
public static final String GUARD_KEY
public static final String ACTIONS_KEY
public static final String REQTAG_KEY
public static final String DIJKSTRA
public static final int CONDITION_REACHED_EDGE
public static final int CONDITION_REACHED_STATE
public static final int CONDITION_EDGE_COVERAGE
public static final int CONDITION_STATE_COVERAGE
public static final int CONDITION_TEST_LENGTH
public static final int CONDITION_TEST_DURATION
public static final int CONDITION_REQUIREMENT_COVERAGE
public static final int CONDITION_REACHED_REQUIREMENT
public static final int CONDITION_NEVER
public static final int GENERATOR_RANDOM
public static final int GENERATOR_SHORTEST
public static final int GENERATOR_LIST
public static final int GENERATOR_STUB
public static final int GENERATOR_REQUIREMENTS
| Constructor Detail |
|---|
public Keywords()
| Method Detail |
|---|
public static boolean isKeyWord(String wordToCheck)
public static Set getStopConditions()
public static boolean isStopCondition(String presumedCondition)
public static int getStopCondition(String stopCondition)
stopCondition -
public static Set getGenerators()
public static boolean isGenerator(String presumedGenerator)
public static int getGenerator(String generator)
generator -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||