diff options
author | Luke Deller <luke@deller.id.au> | 2016-09-22 18:53:49 +1000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-22 09:53:35 +0000 |
commit | 328310d52e0f52ed1ebbd23535a67a82693adc61 (patch) | |
tree | dc245cca09adcecb96973453585bbcc7b463bcc8 /offapi | |
parent | 7acac4e5b2635f561143701c9634941293f6db14 (diff) |
Fix JunitTest_framework_complex:CheckXTitle
This unit test class relies on calling waitForEventIdle to wait for
UI transitions to complete. On Windows this is not reliable, due to
VCL's use of PostMessage (Windows message queue) to asynchronously
handle some events such as focus changes.
This issue causes the test to intermittently fail when the dispatcher
for the action the test wants to perform (like closing the print
preview) is not available yet.
- Change the test code to explicitly wait for the desired dispatcher
to be available
- Remove the sleep which was added earlier this year to address this
symptom in one location
Change-Id: Id701209a28cd0c806ab0a548508d31f9f11211f5
Reviewed-on: https://gerrit.libreoffice.org/29167
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'offapi')
0 files changed, 0 insertions, 0 deletions