Class EntityEditPanelTestUnit
java.lang.Object
is.codion.swing.framework.ui.test.EntityEditPanelTestUnit
A base class for testing a
EntityEditPanel
-
Constructor Summary
ModifierConstructorDescriptionprotected
EntityEditPanelTestUnit
(SwingEntityEditModel editModel, Function<SwingEntityEditModel, EntityEditPanel> editPanel) Instantiates a new edit panel test unit for the given edit panel -
Method Summary
Modifier and TypeMethodDescriptionprotected final SwingEntityEditModel
protected final void
Initializes the edit panel.
-
Constructor Details
-
EntityEditPanelTestUnit
protected EntityEditPanelTestUnit(SwingEntityEditModel editModel, Function<SwingEntityEditModel, EntityEditPanel> editPanel) Instantiates a new edit panel test unit for the given edit panel- Parameters:
editModel
- the edit modeleditPanel
- provides the edit panel to test
-
-
Method Details
-
testInitialize
protected final void testInitialize()Initializes the edit panel. -
editModel
- Returns:
- the edit model
-