|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IEventListener
Defines various event during Randoop's generation at which an implementing class can be notified and perform some action.
| Modifier and Type | Method and Description |
|---|---|
void |
explorationEnd()
Called immediately after the end of test generation. |
void |
explorationStart()
Called immediately at the start of test generation, before any generation steps have occurred. |
void |
generationStepPost(ExecutableSequence s)
Called by the AbstractGenerator during each generation iteration, immediately after a generation step() has completed. |
void |
generationStepPre()
Called by the AbstractGenerator during each generation iteration, immediately before a generation step() is performed. |
void |
progressThreadUpdate()
Called by ProgressDisplay at regular intervals to monitor progress. |
boolean |
stopGeneration()
Called by AbstractGenerator to determine if generation should stop. |
| Method Detail |
|---|
void explorationStart()
void explorationEnd()
void generationStepPre()
step() is performed.
AbstractGeneratorvoid generationStepPost(ExecutableSequence s)
step() has completed.
s - sequence that was generated and executed in the last generation step.
Can b null, which means the last step was unable to generate a sequence
(e.g. due to a bad random choice).AbstractGeneratorvoid progressThreadUpdate()
ProgressDisplayboolean stopGeneration()
AbstractGenerator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||