Commit abbe191
committed
Adapt placement test in StatusDialogManagerTest for fractional scaling
The StatusDialogManagerTest.testBug275867() sporadically fails on
Windows because of off-by-one errors between the expected and actual
location of the shell, probably caused by rounding on fractional monitor
zooms.
To be more resilient against slight offsets in the position of the
shell, this change adds a tolerance to the position validation. It also
adds some more debug information to the failure description.
Fixes #37171 parent 676351a commit abbe191
1 file changed
Lines changed: 10 additions & 1 deletion
File tree
- tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/statushandlers
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
778 | 787 | | |
779 | 788 | | |
780 | 789 | | |
| |||
0 commit comments