summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-10-23 11:29:19 +0200
committerAndré Klitzing <aklitzing@gmail.com>2017-10-27 14:58:30 +0000
commit905a6cea6c205015445bcd11c8f2616576a092c5 (patch)
treea83122672be2a732f37da6ad2480337cefdd400f /src
parentf88def9086fa3a546847034dd017c0e5bdd92ab8 (diff)
downloadqtwebsockets-905a6cea6c205015445bcd11c8f2616576a092c5.tar.gz
Check count of spy to verify signal
Looks like QVERIFY(spy.wait()) is a little bit flaky. We should check the count of the spy if it was successful instead of the return value of wait since wait will return false even if the signal was delivered before the call to wait(). Change-Id: I5f9031685dfa69b00155fa22602bab998843cb68 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions