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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setupFixture
(boolean handleListChanges, boolean caching) void
shouldAlwaysReturnAllValuesForSingleComboFilter
(boolean handleListChanges, boolean caching) void
shouldApplyContentFilter
(boolean handleListChanges, boolean caching) void
shouldApplyContentFilterAfterFiltering
(boolean handleListChanges, boolean caching) void
shouldCheckForFilterComboBoxCellEditor
(boolean handleListChanges, boolean caching) void
shouldDistinctNullAndEmptyString
(boolean handleListChanges, boolean caching) void
shouldKeepFilterAndComboBoxContentOnStructuralChanges
(boolean handleListChanges, boolean caching) void
shouldKeepFilterAndComboBoxContentOnStructuralChangesWithCaching
(boolean handleListChanges, boolean caching) void
shouldKeepFilterOnEditWithCaching
(boolean handleListChanges, boolean caching) void
shouldKeepFilterOnEditWithSecondFilterWithCaching
(boolean handleListChanges, boolean caching) void
shouldNotDistinctNullAndEmptyString
(boolean handleListChanges, boolean caching) void
void
shouldNotSetAllSelectedForTextFilters
(boolean handleListChanges, boolean caching) void
shouldNotShowAllAfterCleanAndApply
(boolean handleListChanges, boolean caching) void
shouldNotShowAllAfterSort
(boolean handleListChanges, boolean caching) void
shouldNotShowAllInFirstOnClearSecondFilter
(boolean handleListChanges, boolean caching) void
shouldNotUpdateFilterOnCommitAllAvailableAfterFilter
(boolean handleListChanges, boolean caching) void
shouldOnlyShowVisibleItemsInNotFilteredColumn
(boolean handleListChanges, boolean caching) void
shouldOnlyShowVisibleItemsInNotFilteredColumnWithNonComboFilter
(boolean handleListChanges, boolean caching) void
shouldReduceFirstComboMultiFilterValuesIfSecondComboFilterIsApplied
(boolean handleListChanges, boolean caching) void
shouldReduceFirstComboValuesIfSecondComboFilterIsApplied
(boolean handleListChanges, boolean caching) void
shouldReduceFirstComboValuesIfSecondNonComboFilterIsApplied
(boolean handleListChanges, boolean caching) void
shouldReduceSecondComboContentOnClearFirstFilter
(boolean handleListChanges, boolean caching) void
shouldReturnNoFilterDataInitially
(boolean handleListChanges, boolean caching) void
shouldSeeAllComboEntriesSelectedInitially
(boolean handleListChanges, boolean caching) void
void
void
void
void
shouldUpdateComboBoxContentOnStructuralChanges
(boolean handleListChanges, boolean caching) void
shouldUpdateFilterAndComboBoxContentOnStructuralChangesWithAppliedFilter
(boolean handleListChanges, boolean caching) void
tearDown()
-
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
-