Skip to content

Make some of the c.g.g.view.client.*SelectionModelTest tests async.#10365

Open
niloc132 wants to merge 1 commit into
gwtproject:mainfrom
niloc132:9622-selectionmodel-test-cherrypick
Open

Make some of the c.g.g.view.client.*SelectionModelTest tests async.#10365
niloc132 wants to merge 1 commit into
gwtproject:mainfrom
niloc132:9622-selectionmodel-test-cherrypick

Conversation

@niloc132

@niloc132 niloc132 commented Jul 9, 2026

Copy link
Copy Markdown
Member

SelectionModel fires selection events using a finally command and some tests using SelectionChangeEvent.Handler were not async. In addition these tests had an implementation that let the test fail (but ANT never noticed because tests were sync).

This CL makes sure all tests using SelectionChangeEvent.Handler are async and updates implementation slightly to correclty assert event behavior.

Previously submitted as https://gwt-review.googlesource.com/c/gwt/+/21060.

Fixes #9622

SelectionModel fires selection events using a finally command and
some tests using SelectionChangeEvent.Handler were not async.
In addition these tests had an implementation that let the test fail
(but ANT never noticed because tests were sync).

This CL makes sure all tests using SelectionChangeEvent.Handler are
async and updates implementation slightly to correclty assert event
behavior.

Bug: gwtproject#9622
Bug-Link: gwtproject#9622
Change-Id: I66ba1170d2a1335d3ad921346017b5b5bc1accf8
@niloc132 niloc132 added this to the 2.14 milestone Jul 9, 2026
@niloc132 niloc132 added the ready This PR has been reviewed by a maintainer and is ready for a CI run. label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready This PR has been reviewed by a maintainer and is ready for a CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Various broken SelectionModel tests in com.google.gwt.view.client

2 participants