diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-07-16 12:27:34 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-07-18 06:18:40 +0200 |
commit | 334f09b585b9a90bc3dde0fcda4ebec67478d7a3 (patch) | |
tree | 1bff9687ca7bbcb739b36cd0e51a9886eb83f31f /qmake | |
parent | 1d8c9978fa1baafa17c95713bd5d04f245eeb76f (diff) |
tst_http2 - make the test less rough in general
1. Use per-case QNAM objects
2. In a slots (connected to QNetworkReplies) - if an error detected - stop
the event loop (no reason to continue waiting) and then do normal
QVERIFY/QCOMPARE things.
3. In tests, check QTest::currentTestFailed after the event loop returned -
if an error was detected by a slot, no need to continue with QCOMPARE/QVERIFY
in the test itself.
Task-number: QTBUG-77053
Change-Id: I3827a629a2749becd3dc6eee7fd6994d96441e65
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions