[bindings] [Bug 360899] ItemViewsPuzzleTest test hangs

Chris Burel via KDE Bugzilla bugzilla_noreply at kde.org
Mon Oct 3 18:21:05 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=360899

Chris Burel <chrisburel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrisburel at gmail.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Chris Burel <chrisburel at gmail.com> ---
Fixed in 8f066267.  The problem is that the itemviews/puzzle example uses the
QMessageBox::information() function, which runs its own event loop in its own
thread.  The testing framework has no way to detect that this thread has
started, so user interaction is required for the test to complete.  My solution
is to just monkey patch QMessageBox::information during the test, so that we
ensure that it is called when the puzzle is complete, but no additional event
loops are created.

http://commits.kde.org/perlqt/8f066267118c66e01d45b60ba086510d577fa854

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-bindings mailing list