summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorLuke Deller <luke@deller.id.au>2016-09-22 18:53:49 +1000
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-22 09:53:35 +0000
commit328310d52e0f52ed1ebbd23535a67a82693adc61 (patch)
treedc245cca09adcecb96973453585bbcc7b463bcc8 /offapi
parent7acac4e5b2635f561143701c9634941293f6db14 (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