E52F Repair and execute SourceCompositeTest by ptziegler · Pull Request #1062 · eclipse-windowbuilder/windowbuilder · GitHub
[go: up one dir, main page]

Skip to content

Repair and execute SourceCompositeTest#1062

Merged
ptziegler merged 2 commits intoeclipse-windowbuilder:masterfrom
ptziegler:nls-tests-pt2
May 4, 2025
Merged

Repair and execute SourceCompositeTest#1062
ptziegler merged 2 commits intoeclipse-windowbuilder:masterfrom
ptziegler:nls-tests-pt2

Conversation

@ptziegler
Copy link
Contributor

This adapts the SourceCompositeTest to be executed via SWTBot. Note that for the "test_contextMenu_removeLocale" test, the SourceComposite class also needs to be adapted.

The current implementation opens a context menu based on the cell on which the user is clicked. To determine the cell, the current location of the mouse cursor is used. Because this isn't something that can be simulated, the location is now stored via the MouseDown event.

@ptziegler ptziegler added this to the 1.20.0 milestone May 4, 2025
This adapts the SourceCompositeTest to be executed via SWTBot. Note that
for the "test_contextMenu_removeLocale" test, the SourceComposite class
also needs to be adapted.

The current implementation opens a context menu based on the cell on
which the user is clicked. To determine the cell, the current location
of the mouse cursor is used. Because this isn't something that can be
simulated, the location is now stored via the MouseDown event.
@ptziegler ptziegler merged commit 8c92733 into eclipse-windowbuilder:master May 4, 2025
7 checks passed
@ptziegler ptziegler deleted the nls-tests-pt2 branch May 4, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0