public class TestGenCorruptedVariableListenerReproducer extends Object implements TestGenOriginalProblemReproducer, TestGenKieSessionListener
AbstractScoreDirector.assertShadowVariablesAreNotStale(Score, Object)
.Constructor and Description |
---|
TestGenCorruptedVariableListenerReproducer(String analysis,
TestGenDroolsScoreDirector<?> scoreDirector) |
Modifier and Type | Method and Description |
---|---|
void |
afterFireAllRules(org.kie.api.runtime.KieSession kieSession,
TestGenKieSessionJournal journal,
TestGenKieSessionFireAllRules fire) |
void |
assertReproducible(TestGenKieSessionJournal journal,
String contextDescription)
Throws exception if the original problem is not reproducible with the given journal.
|
boolean |
isReproducible(TestGenKieSessionJournal journal)
Replay the journal and decide if the original problem is reproducible.
|
String |
toString() |
public TestGenCorruptedVariableListenerReproducer(String analysis, TestGenDroolsScoreDirector<?> scoreDirector)
public void assertReproducible(TestGenKieSessionJournal journal, String contextDescription)
TestGenOriginalProblemReproducer
assertReproducible
in interface TestGenOriginalProblemReproducer
journal
- journal tested for the original problemcontextDescription
- describes the context in which the problem should be reproduciblepublic boolean isReproducible(TestGenKieSessionJournal journal)
TestGenOriginalProblemReproducer
isReproducible
in interface TestGenOriginalProblemReproducer
journal
- journal tested for the original problempublic void afterFireAllRules(org.kie.api.runtime.KieSession kieSession, TestGenKieSessionJournal journal, TestGenKieSessionFireAllRules fire)
afterFireAllRules
in interface TestGenKieSessionListener
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.