Interface TestGenOriginalProblemReproducer
-
- All Known Implementing Classes:
TestGenCorruptedScoreReproducer
,TestGenCorruptedVariableListenerReproducer
,TestGenDroolsExceptionReproducer
public interface TestGenOriginalProblemReproducer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
isReproducible
boolean isReproducible(TestGenKieSessionJournal journal)
Replay the journal and decide if the original problem is reproducible.- Parameters:
journal
- journal tested for the original problem- Returns:
- true if replaying the journal leads to the original problem
-
assertReproducible
void assertReproducible(TestGenKieSessionJournal journal, String contextDescription)
Throws exception if the original problem is not reproducible with the given journal.- Parameters:
journal
- journal tested for the original problemcontextDescription
- describes the context in which the problem should be reproducible
-
-