diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2014-04-15 03:23:48 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-15 17:03:28 +0200 |
commit | fc55f57e6cbbcd0027493d0bbea8161a814aaff2 (patch) | |
tree | 3d78cfe2b08cacb7db91af4c556920f63ce6f97c /tests | |
parent | 6d0367b9b9c7730012f7c6fe0febc831130863b8 (diff) |
Fix tst_QWebEngineView::crashTests test case
This test runs without crash, but fails because the expected
interval of the load progress is too narrow.
For example, the progress values in my case: 0 -> 10 -> 100
Change-Id: I0fd13d6badf717fc27e8d4219f39190db0090692
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp index a0bf36f60..f105fe8c8 100644 --- a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp +++ b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp @@ -191,7 +191,7 @@ public: private Q_SLOTS: void loading(int progress) { - if (progress >= 20 && progress < 90) { + if (progress > 1 && progress < 100) { QVERIFY(!m_executed); m_view->stop(); m_executed = true; |