public class TestGenCorruptedScoreReproducer extends Object implements TestGenOriginalProblemReproducer, TestGenKieSessionListener
AbstractScoreDirector.assertWorkingScoreFromScratch(Score, Object).| Constructor and Description |
|---|
TestGenCorruptedScoreReproducer(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 TestGenCorruptedScoreReproducer(String analysis, TestGenDroolsScoreDirector<?> scoreDirector)
public void assertReproducible(TestGenKieSessionJournal journal, String contextDescription)
TestGenOriginalProblemReproducerassertReproducible in interface TestGenOriginalProblemReproducerjournal - journal tested for the original problemcontextDescription - describes the context in which the problem should be reproduciblepublic boolean isReproducible(TestGenKieSessionJournal journal)
TestGenOriginalProblemReproducerisReproducible in interface TestGenOriginalProblemReproducerjournal - journal tested for the original problempublic void afterFireAllRules(org.kie.api.runtime.KieSession kieSession,
TestGenKieSessionJournal journal,
TestGenKieSessionFireAllRules fire)
afterFireAllRules in interface TestGenKieSessionListenerCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.