You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vaadin-list-box-flow-parent/vaadin-list-box-flow-integration-tests/src/test/java/com/vaadin/flow/component/listbox/test/ListBoxDataViewIT.java
+13-17Lines changed: 13 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -79,12 +79,11 @@ public void testGenericDataView_refreshSingleItem_onlyReflectChangesOfThatItem()
79
79
80
80
Assert.assertEquals("ListBox should have items", 2, items.size());
81
81
82
-
Assert.assertEquals("First RadioButton should be updated to", CHANGED_1,
82
+
Assert.assertEquals("First item should be updated to", CHANGED_1,
83
83
items.get(0).getText());
84
84
85
-
Assert.assertEquals(
86
-
"Second RadioButton should still holds the old value", SECOND,
87
-
items.get(1).getText());
85
+
Assert.assertEquals("Second item should still hold the old value",
86
+
SECOND, items.get(1).getText());
88
87
}
89
88
90
89
@Test
@@ -97,12 +96,11 @@ public void testListDataView_refreshSingleItem_onlyReflectChangesOfThatItem() {
97
96
98
97
Assert.assertEquals("ListBox should have items", 2, items.size());
99
98
100
-
Assert.assertEquals("First RadioButton should be updated to", CHANGED_1,
99
+
Assert.assertEquals("First item should be updated to", CHANGED_1,
101
100
items.get(0).getText());
102
101
103
-
Assert.assertEquals(
104
-
"Second RadioButton should still holds the old value", SECOND,
105
-
items.get(1).getText());
102
+
Assert.assertEquals("Second item should still hold the old value",
103
+
SECOND, items.get(1).getText());
106
104
}
107
105
108
106
@Test
@@ -122,10 +120,10 @@ public void testListDataView_addItem_shouldAddOneAndOnlyOneItem() {
122
120
123
121
Assert.assertEquals("ListBox should have items", 2, items.size());
124
122
125
-
Assert.assertEquals("First RadioButton should have the text", FIRST,
123
+
Assert.assertEquals("First item should have the text", FIRST,
126
124
items.get(0).getText());
127
125
128
-
Assert.assertEquals("Second RadioButton should have the text", SECOND,
126
+
Assert.assertEquals("Second item should have the text", SECOND,
0 commit comments