On Wed, 26 Aug 2020 10:19:28 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:
>> modules/javafx.controls/src/test/java/test/javafx/scene/control/ListViewTest.java >> line 1536: >> >>> 1535: assertEquals(4, sm.getSelectedItems().size()); >>> 1536: >>> 1537: sl.dispose(); >> >> wondering about these repeated blocks? The flow is single: (default on >> start) -> multiple -> single -> multiple. Looks >> like the last two are repeating the first two .. what do I overlook? > > I had kept it with initial version of patch to test the listeners, But the > patch has evolved to be very different now. > But still have removed only one block. Now there are three blocks and > `sm.getSelectedItems().size()` varies in each > block. ahh .. that's what I overlooked - thanks for opening my eyes :) ------------- PR: https://git.openjdk.java.net/jfx/pull/172