Skip to content

Commit 087f5c3

Browse files
committed
test: document regression tests
1 parent 886f162 commit 087f5c3

File tree

1 file changed

+10
-0
lines changed
  • src/test/java/com/flowingcode/vaadin/addons/chipfield/integration

1 file changed

+10
-0
lines changed

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/ViewIT.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ public void testAdditionalItemDisabled() {
108108
assertThat($server.getValue(), Matchers.empty());
109109
}
110110

111+
/**
112+
* Test that readonly does not allow deleting chips
113+
*
114+
* @see https://github.com/FlowingCode/ChipFieldAddon/issues/34
115+
*/
111116
@Test
112117
public void testReadOnly() {
113118
chipfield.selectByText(LOREM);
@@ -125,6 +130,11 @@ public void testReadOnly() {
125130
assertThat($server.getValue(), isEqualTo(LOREM));
126131
}
127132

133+
/**
134+
* Test that setValue changes both server-side and client-side values
135+
*
136+
* @see https://github.com/FlowingCode/ChipFieldAddon/issues/25
137+
*/
128138
@Test
129139
public void testSetValue() {
130140
$server.setValue(LOREM);

0 commit comments

Comments
 (0)