public class TestGenDroolsExceptionReproducer extends Object implements TestGenOriginalProblemReproducer
| Constructor and Description |
|---|
TestGenDroolsExceptionReproducer(RuntimeException originalException,
TestGenDroolsScoreDirector<?> scoreDirector) |
| Modifier and Type | Method and Description |
|---|---|
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 TestGenDroolsExceptionReproducer(RuntimeException originalException, TestGenDroolsScoreDirector<?> scoreDirector)
public boolean isReproducible(TestGenKieSessionJournal journal)
TestGenOriginalProblemReproducerisReproducible in interface TestGenOriginalProblemReproducerjournal - journal tested for the original problempublic 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 reproducibleCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.