Skip to content

Commit 20db216

Browse files
committed
Fixed tests
1 parent 2fdc0ef commit 20db216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/javafx.controls/src/test/java/test/javafx/scene/control/ListViewTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ public void updateItem(String color, boolean empty) {
11411141
listView.scrollTo(55);
11421142
Platform.runLater(() -> {
11431143
Toolkit.getToolkit().firePulse();
1144-
assertEquals(useFixedCellSize ? 21 : 23, rt_35395_counter);
1144+
assertEquals(useFixedCellSize ? 29 : 31, rt_35395_counter);
11451145
sl.dispose();
11461146
});
11471147
});

modules/javafx.controls/src/test/java/test/javafx/scene/control/TreeTableViewTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4256,7 +4256,7 @@ private void test_rt_35395(boolean testCell, boolean useFixedCellSize) {
42564256
Platform.runLater(() -> {
42574257
Toolkit.getToolkit().firePulse();
42584258

4259-
assertEquals(useFixedCellSize ? 22 : 22, rt_35395_counter);
4259+
assertEquals(useFixedCellSize ? 34 : 34, rt_35395_counter);
42604260
sl.dispose();
42614261
});
42624262
});

0 commit comments

Comments
 (0)