|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.modeljunit.Tester
nz.ac.waikato.modeljunit.AllRoundTester
public class AllRoundTester
Field Summary |
---|
Fields inherited from class nz.ac.waikato.modeljunit.Tester |
---|
FIXEDSEED, model_, rand_ |
Constructor Summary | |
---|---|
AllRoundTester(FsmModel fsm)
A convenience constructor that puts a Model wrapper around an FsmModel. |
|
AllRoundTester(Model model)
Creates a GreedyTester that will terminate each test sequence after getLoopTolerance() visits to a state. |
|
AllRoundTester(Tester testr)
Allows you to add a tester |
Method Summary | |
---|---|
int |
allRoundTrips()
|
int |
generate()
Generate one more test step in the current sequence. |
java.lang.String |
getDescription()
A brief description of this test generation algorithm. |
int |
getLoopTolerance()
The maximum number of times that any state can appear in a test sequence during test generation. |
java.lang.String |
getName()
The name of this test generation algorithm. |
void |
setLoopTolerance(int t)
Lets you set how many times the algorithm will tolerate a loop |
Methods inherited from class nz.ac.waikato.modeljunit.Tester |
---|
addCoverageMetric, addListener, addListener, addListener, buildGraph, buildGraph, buildGraph, buildGraphBreadthFirst, generate, getModel, getRandom, printCoverage, reset, setRandom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AllRoundTester(Model model)
getLoopTolerance()
visits to a state.
model
- Must be non-null;public AllRoundTester(FsmModel fsm)
fsm
- Must be non-null.public AllRoundTester(Tester testr)
Method Detail |
---|
public java.lang.String getName()
Tester
getName
in class Tester
public java.lang.String getDescription()
Tester
getDescription
in class Tester
public int getLoopTolerance()
public void setLoopTolerance(int t)
public int allRoundTrips()
public int generate()
Tester
generate
in class Tester
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |