use of org.malai.fsm.InitState in project Malai by arnobl.
the class TestMenuItemPressed method testProcessEventReinit.
@Test
void testProcessEventReinit() {
interaction.processEvent(new ActionEvent(menuitem, null));
assertNull(interaction.getWidget());
assertTrue(interaction.getFsm().getCurrentState() instanceof InitState);
}
use of org.malai.fsm.InitState in project Malai by arnobl.
the class TestSpinnerChanged method testProcessEventReinit.
@Test
void testProcessEventReinit() {
interaction.processEvent(new ActionEvent(widget, null));
JfxtestHelper.waitForTimeoutTransitions();
assertNull(interaction.getWidget());
assertTrue(interaction.getFsm().getCurrentState() instanceof InitState);
}
use of org.malai.fsm.InitState in project Malai by arnobl.
the class BaseWIMPWidgetTest method testProcessEventReinit.
@Test
void testProcessEventReinit() {
interaction.processEvent(new ActionEvent(wimpWidget, null));
JfxtestHelper.waitForTimeoutTransitions();
assertNull(interaction.getWidget());
assertTrue(interaction.getFsm().getCurrentState() instanceof InitState);
}
Aggregations