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)
TestGenOriginalProblemReproducer
isReproducible
in interface TestGenOriginalProblemReproducer
journal
- journal tested for the original problempublic 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 reproducibleCopyright © 2006–2020 JBoss by Red Hat. All rights reserved.