Class EntityApplicationPanelTestUnit<M extends SwingEntityApplicationModel>
java.lang.Object
is.codion.swing.framework.ui.test.EntityApplicationPanelTestUnit<M>
A class for testing
EntityApplicationPanel
classes-
Constructor Summary
ModifierConstructorDescriptionprotected
EntityApplicationPanelTestUnit
(Class<M> modelClass, Class<? extends EntityApplicationPanel<M>> panelClass) Instantiates a new entity application panel test unit, using the User specified by the 'codion.test.user' system property.protected
EntityApplicationPanelTestUnit
(Class<M> modelClass, Class<? extends EntityApplicationPanel<M>> panelClass, User user) Instantiates a new entity application panel test unitprotected
EntityApplicationPanelTestUnit
(Class<M> modelClass, Class<? extends EntityApplicationPanel<M>> panelClass, User user, DomainType domainType) Instantiates a new entity application panel test unit -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
Instantiates the panel and initializes it along with all its entity panels
-
Constructor Details
-
EntityApplicationPanelTestUnit
protected EntityApplicationPanelTestUnit(Class<M> modelClass, Class<? extends EntityApplicationPanel<M>> panelClass) Instantiates a new entity application panel test unit, using the User specified by the 'codion.test.user' system property.- Parameters:
modelClass
- the application model classpanelClass
- the application panel class
-
EntityApplicationPanelTestUnit
protected EntityApplicationPanelTestUnit(Class<M> modelClass, Class<? extends EntityApplicationPanel<M>> panelClass, User user) Instantiates a new entity application panel test unit- Parameters:
modelClass
- the application model classpanelClass
- the application panel classuser
- the application user
-
EntityApplicationPanelTestUnit
protected EntityApplicationPanelTestUnit(Class<M> modelClass, Class<? extends EntityApplicationPanel<M>> panelClass, User user, DomainType domainType) Instantiates a new entity application panel test unit- Parameters:
modelClass
- the application model classpanelClass
- the application panel classuser
- the application userdomainType
- the application domain type
-
-
Method Details
-
testInitialize
protected final void testInitialize()Instantiates the panel and initializes it along with all its entity panels
-