|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectPluginBridge
public class PluginBridge extends Object implements ITestFilter, IEventListener
| Modifier and Type | Field and Description |
|---|---|
List<String> |
additionalJunitClasses
|
Set<Pair<StatementKind,Class<?>>> |
errors
|
MessageSender |
msgSender
|
| Constructor and Description |
|---|
PluginBridge(AbstractGenerator generator,
MessageSender sender)
|
| 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 es)
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. |
boolean |
outputSequence(ExecutableSequence s,
FailureSet f)
Given sequence s and associated failure set f, returns true if s should be output to the user as a test case. |
void |
progressThreadUpdate()
Called by ProgressDisplay at regular intervals to monitor progress. |
boolean |
stopGeneration()
Called by AbstractGenerator to determine if generation should stop. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MessageSender msgSender
public List<String> additionalJunitClasses
public Set<Pair<StatementKind,Class<?>>> errors
| Constructor Detail |
|---|
public PluginBridge(AbstractGenerator generator,
MessageSender sender)
| Method Detail |
|---|
public boolean outputSequence(ExecutableSequence s,
FailureSet f)
ITestFilter
outputSequence in interface ITestFilterpublic void generationStepPost(ExecutableSequence es)
IEventListenerstep() has completed.
generationStepPost in interface IEventListeneres - 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).AbstractGeneratorpublic void generationStepPre()
IEventListenerstep() is performed.
generationStepPre in interface IEventListenerAbstractGeneratorpublic void progressThreadUpdate()
IEventListener
progressThreadUpdate in interface IEventListenerProgressDisplaypublic boolean stopGeneration()
IEventListener
stopGeneration in interface IEventListenerAbstractGeneratorpublic void explorationStart()
IEventListener
explorationStart in interface IEventListenerpublic void explorationEnd()
IEventListener
explorationEnd in interface IEventListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||