Skip to content

Commit ff431a0

Browse files
committed
Fixed MaterialComboBox - Add JUnit test for tagging support #259
1 parent f5d8338 commit ff431a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/gwt/material/design/addins/client/MaterialComboBoxTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ protected <T extends MaterialComboBox<User>> void checkProperties(T comboBox) {
109109
assertEquals(comboBox.getLabel().getText(), "label");
110110
comboBox.setPlaceholder("placeholder");
111111
assertEquals(comboBox.getPlaceholder(), "placeholder");
112+
comboBox.setTags(true);
113+
assertTrue(comboBox.isTags());
114+
comboBox.setTags(false);
115+
assertFalse(comboBox.isTags());
112116

113117
final String BODY_SELECTOR = "body";
114118
final String SELF_SELECTOR = "#" + comboBox.getElement().getId();

0 commit comments

Comments
 (0)