Class AbstractEntityTableModelTest<EditModel extends EntityEditModel,TableModel extends EntityTableModel<EditModel>>

java.lang.Object
is.codion.framework.model.test.AbstractEntityTableModelTest<EditModel,TableModel>
Type Parameters:
EditModel - the EntityEditModel type
TableModel - the EntityTableModel type

public abstract class AbstractEntityTableModelTest<EditModel extends EntityEditModel,TableModel extends EntityTableModel<EditModel>> extends Object
A base class for testing EntityTableModel subclasses.
  • Field Details

  • Constructor Details

    • AbstractEntityTableModelTest

      protected AbstractEntityTableModelTest()
  • Method Details

    • select

      @Test public void select()
    • selectedEntitiesIterator

      @Test public void selectedEntitiesIterator()
    • onInsert

      @Test public void onInsert()
    • removeDeletedEntities

      @Test public void removeDeletedEntities()
    • entityType

      @Test public void entityType()
    • deleteNotEnabled

      @Test public void deleteNotEnabled()
    • testTheRest

      @Test public void testTheRest()
    • attributes

      @Test public void attributes()
    • limit

      @Test public void limit()
    • conditionChangedListener

      @Test public void conditionChangedListener()
    • testSearchState

      @Test public void testSearchState()
    • connectionProvider

      protected final EntityConnectionProvider connectionProvider()
    • createTestTableModel

      protected abstract TableModel createTestTableModel()
      Returns:
      a EntityTableModel using testEntities with an edit model
      See Also:
    • createDepartmentTableModel

      protected abstract TableModel createDepartmentTableModel()
    • createTableModel

      protected abstract TableModel createTableModel(EntityType entityType, EntityConnectionProvider connectionProvider)
    • createTableModel

      protected abstract TableModel createTableModel(EditModel editModel)
    • createEditModel

      protected abstract EditModel createEditModel(EntityType entityType, EntityConnectionProvider connectionProvider)