diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-08-22 21:00:40 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-09-17 06:47:05 +0000 |
commit | 542ba86e22a062445a57dc9aec3387d65258ab6b (patch) | |
tree | 9530c1b46a2bb3921967caae75ddf3317f2fa08b /src/tools | |
parent | 1b98ce1986ae96a0966f9ea075e327d641790343 (diff) |
tests/auto/corelib/mimetypes: use local QThreadPool
Isolates the test from anything that might be going on on the globalInstance().
Enabled by the explicit thread-pool feature on QtConcurrent::run().
Add explicit timed wait (unit tests should contain as little indefinite waits
as possible).
Also avoids the use of QFutureSynchronizer, which makes my static QList
checker go nuts, with no way of fixing it until Qt 6.
Change-Id: I0829992642b2a49bb6a10ddd4b31eb3f88e3adeb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions