Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Multi select #70

Merged
merged 3 commits into from
Jan 4, 2017
Merged

Multi select #70

merged 3 commits into from
Jan 4, 2017

Conversation

nicopaul
Copy link
Contributor

@nicopaul nicopaul commented Jan 2, 2017

#68 is required, becaus MultiSelect is based on GenericSelect


This change is Reviewable

@Test
public final void testThatAllOptionsAreDeselected() {
page.multiSelectWithSelection.deselectAll();
assertThat(page.multiSelectWithSelection.getAllSelectedOptions().isEmpty(), is(true));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assertThat(page.multiSelectWithSelection.getAllSelectedOptions().isEmpty(), is(true));

assertThat(page.multiSelectWithSelection.getAllSelectedOptions(), is(empty()));

@Test
public final void testThatCorrectOptionsAreDeselectedCorrectlyByIndices_multipleDeselect() {
page.multiSelectWithSelection.deselectByIndices(1, 2);
assertThat(page.multiSelectWithSelection.getAllSelectedIndices().isEmpty(), is(true));
Copy link
Member

@slu-it slu-it Jan 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here as well + more down below

@slu-it slu-it mentioned this pull request Jan 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants