Class EntityApplicationPanelTestUnit<M extends SwingEntityApplicationModel>

java.lang.Object
is.codion.swing.framework.ui.test.EntityApplicationPanelTestUnit<M>

public class EntityApplicationPanelTestUnit<M extends SwingEntityApplicationModel> extends Object
A class for testing EntityApplicationPanel classes
  • 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 class
      panelClass - 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 class
      panelClass - the application panel class
      user - 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 class
      panelClass - the application panel class
      user - the application user
      domainType - the application domain type
  • Method Details

    • testInitialize

      protected final void testInitialize()
      Instantiates the panel and initializes it along with all its entity panels