Enum modelator::event::Event [−][src]
pub enum Event {
Init(Box<dyn Any>),
Action(Box<dyn Any>),
Expect(String),
Check(Box<dyn Any>),
Equal(Box<dyn Any>),
}
Expand description
A set of events to describe tests based on abstract states and actions.
Variants
Initialize the concrete system state from the abstract one.
Process the abstract action, modifying the system state.
Expect the provided outcome of the last action.
Tuple Fields of Expect
0: String
Check the assertion about the abstract system state.
Expect exactly the provided abstract system state.