Commit 678c661
committed
Spin event loop to process pending UI updates before checking the pasted
content on the Text.
As content copy/paste works well manually junit fails because junit
checks the text content well before it is updated by GTK. So it is a
timing delay. Processing all the pending events make sure text is
updated(Either by introducing some delay in junit or really processing
any pending UI updates).
see #24911 parent c6a29a9 commit 678c661
File tree
1 file changed
+8
-0
lines changed- tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
291 | 296 | | |
292 | 297 | | |
293 | 298 | | |
| |||
307 | 312 | | |
308 | 313 | | |
309 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
310 | 318 | | |
311 | 319 | | |
312 | 320 | | |
| |||
0 commit comments