Class MixedComboBoxFilterRowHeaderIntegrationTest
java.lang.Object
org.eclipse.nebula.widgets.nattable.extension.glazedlists.filterrow.MixedComboBoxFilterRowHeaderIntegrationTest
This test class is intended to verify the integration of the
ComboBoxFilterRowHeaderComposite with mixed combobox filters and
default text filters, and with the usage of dynamic combobox contents.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetupFixture(boolean handleListChanges, boolean caching) voidshouldAlwaysReturnAllValuesForSingleComboFilter(boolean handleListChanges, boolean caching) voidshouldApplyContentFilter(boolean handleListChanges, boolean caching) voidshouldApplyContentFilterAfterFiltering(boolean handleListChanges, boolean caching) voidshouldCheckForFilterComboBoxCellEditor(boolean handleListChanges, boolean caching) voidshouldDistinctNullAndEmptyString(boolean handleListChanges, boolean caching) voidshouldKeepFilterAndComboBoxContentOnStructuralChanges(boolean handleListChanges, boolean caching) voidshouldKeepFilterAndComboBoxContentOnStructuralChangesWithCaching(boolean handleListChanges, boolean caching) voidshouldKeepFilterOnEditWithCaching(boolean handleListChanges, boolean caching) voidshouldKeepFilterOnEditWithSecondFilterWithCaching(boolean handleListChanges, boolean caching) voidshouldNotDistinctNullAndEmptyString(boolean handleListChanges, boolean caching) voidvoidshouldNotSetAllSelectedForTextFilters(boolean handleListChanges, boolean caching) voidshouldNotShowAllAfterCleanAndApply(boolean handleListChanges, boolean caching) voidshouldNotShowAllAfterSort(boolean handleListChanges, boolean caching) voidshouldNotShowAllInFirstOnClearSecondFilter(boolean handleListChanges, boolean caching) voidshouldNotUpdateFilterOnCommitAllAvailableAfterFilter(boolean handleListChanges, boolean caching) voidshouldOnlyShowVisibleItemsInNotFilteredColumn(boolean handleListChanges, boolean caching) voidshouldOnlyShowVisibleItemsInNotFilteredColumnWithNonComboFilter(boolean handleListChanges, boolean caching) voidshouldReduceFirstComboMultiFilterValuesIfSecondComboFilterIsApplied(boolean handleListChanges, boolean caching) voidshouldReduceFirstComboValuesIfSecondComboFilterIsApplied(boolean handleListChanges, boolean caching) voidshouldReduceFirstComboValuesIfSecondNonComboFilterIsApplied(boolean handleListChanges, boolean caching) voidshouldReduceSecondComboContentOnClearFirstFilter(boolean handleListChanges, boolean caching) voidshouldReturnNoFilterDataInitially(boolean handleListChanges, boolean caching) voidshouldSeeAllComboEntriesSelectedInitially(boolean handleListChanges, boolean caching) voidvoidvoidvoidvoidshouldUpdateComboBoxContentOnStructuralChanges(boolean handleListChanges, boolean caching) voidshouldUpdateFilterAndComboBoxContentOnStructuralChangesWithAppliedFilter(boolean handleListChanges, boolean caching) voidtearDown()
-
Constructor Details
-
MixedComboBoxFilterRowHeaderIntegrationTest
public MixedComboBoxFilterRowHeaderIntegrationTest()
-
-
Method Details
-
setupFixture
public void setupFixture(boolean handleListChanges, boolean caching) -
tearDown
@AfterEach public void tearDown() -
shouldReturnNoFilterDataInitially
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldReturnNoFilterDataInitially(boolean handleListChanges, boolean caching) -
shouldSeeAllComboEntriesSelectedInitially
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldSeeAllComboEntriesSelectedInitially(boolean handleListChanges, boolean caching) -
shouldCheckForFilterComboBoxCellEditor
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldCheckForFilterComboBoxCellEditor(boolean handleListChanges, boolean caching) -
shouldDistinctNullAndEmptyString
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldDistinctNullAndEmptyString(boolean handleListChanges, boolean caching) -
shouldNotDistinctNullAndEmptyString
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldNotDistinctNullAndEmptyString(boolean handleListChanges, boolean caching) -
shouldAlwaysReturnAllValuesForSingleComboFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldAlwaysReturnAllValuesForSingleComboFilter(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldOnlyShowVisibleItemsInNotFilteredColumn
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldOnlyShowVisibleItemsInNotFilteredColumn(boolean handleListChanges, boolean caching) -
shouldOnlyShowVisibleItemsInNotFilteredColumnWithNonComboFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldOnlyShowVisibleItemsInNotFilteredColumnWithNonComboFilter(boolean handleListChanges, boolean caching) -
shouldReduceFirstComboValuesIfSecondComboFilterIsApplied
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldReduceFirstComboValuesIfSecondComboFilterIsApplied(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldReduceFirstComboMultiFilterValuesIfSecondComboFilterIsApplied
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldReduceFirstComboMultiFilterValuesIfSecondComboFilterIsApplied(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldReduceFirstComboValuesIfSecondNonComboFilterIsApplied
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldReduceFirstComboValuesIfSecondNonComboFilterIsApplied(boolean handleListChanges, boolean caching) -
shouldReduceSecondComboContentOnClearFirstFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldReduceSecondComboContentOnClearFirstFilter(boolean handleListChanges, boolean caching) -
shouldNotShowAllInFirstOnClearSecondFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldNotShowAllInFirstOnClearSecondFilter(boolean handleListChanges, boolean caching) -
shouldKeepFilterOnEditWithCaching
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","false, true"}) public void shouldKeepFilterOnEditWithCaching(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldKeepFilterOnEditWithSecondFilterWithCaching
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","false, true"}) public void shouldKeepFilterOnEditWithSecondFilterWithCaching(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldKeepFilterAndComboBoxContentOnStructuralChanges
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, false","false, false"}) public void shouldKeepFilterAndComboBoxContentOnStructuralChanges(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldKeepFilterAndComboBoxContentOnStructuralChangesWithCaching
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource("true, true") public void shouldKeepFilterAndComboBoxContentOnStructuralChangesWithCaching(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldNotShowAllAfterSort
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldNotShowAllAfterSort(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldNotShowAllAfterCleanAndApply
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldNotShowAllAfterCleanAndApply(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldNotUpdateFilterOnCommitAllAvailableAfterFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldNotUpdateFilterOnCommitAllAvailableAfterFilter(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldUpdateComboBoxContentOnStructuralChanges
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, false","true, true"}) public void shouldUpdateComboBoxContentOnStructuralChanges(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldUpdateFilterAndComboBoxContentOnStructuralChangesWithAppliedFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource("true, true") public void shouldUpdateFilterAndComboBoxContentOnStructuralChangesWithAppliedFilter(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldNotSetAllSelectedForTextFilters
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldNotSetAllSelectedForTextFilters(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-
shouldSeeNoFilter
@Test public void shouldSeeNoFilter() -
shouldSeeTextFilter
@Test public void shouldSeeTextFilter() -
shouldSeeComboBoxFilter
@Test public void shouldSeeComboBoxFilter() -
shouldSeeMixedFilter
@Test public void shouldSeeMixedFilter() -
shouldNotSeeFilterAfterClear
@Test public void shouldNotSeeFilterAfterClear() -
shouldApplyContentFilter
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldApplyContentFilter(boolean handleListChanges, boolean caching) -
shouldApplyContentFilterAfterFiltering
@ParameterizedTest(name="listchanges={0}, caching={1}") @CsvSource({"true, true","true, false","false, true","false, false"}) public void shouldApplyContentFilterAfterFiltering(boolean handleListChanges, boolean caching) throws InterruptedException - Throws:
InterruptedException
-