Class AbstractComponentDataViewTest

java.lang.Object
com.vaadin.tests.dataprovider.AbstractComponentDataViewTest

public abstract class AbstractComponentDataViewTest extends Object
Abstract test class that contains the common tests for all generic data view component's implementations, i.e. which extends AbstractDataView and doesn't contain an in-memory or lazy specific API. Concrete implementations of this class should provide a particular component to be tested as a HasDataView implementation.
  • Field Details

    • items

      protected List<String> items
    • dataProvider

      protected com.vaadin.flow.data.provider.InMemoryDataProvider<String> dataProvider
    • dataView

      protected com.vaadin.flow.data.provider.DataView<String> dataView
    • component

      protected com.vaadin.flow.data.provider.HasDataView<String,?,? extends com.vaadin.flow.data.provider.DataView<String>> component
  • Constructor Details

    • AbstractComponentDataViewTest

      public AbstractComponentDataViewTest()
  • Method Details

    • init

      @BeforeEach protected void init()
    • getComponent

      protected abstract com.vaadin.flow.data.provider.HasDataView<String,?,? extends com.vaadin.flow.data.provider.DataView<String>> getComponent()