Changeset 100053 in webkit
- Timestamp:
- Nov 11, 2011, 5:38:02 PM (15 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
tests/benchmarks/loading/tst_loading.cpp (modified) (3 diffs)
-
tests/benchmarks/painting/tst_painting.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/ChangeLog
r99968 r100053 1 2011-11-11 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> 2 3 [Qt] Skip tests when no network is present 4 https://bugs.webkit.org/show_bug.cgi?id=72031 5 6 Reviewed by Simon Hausmann. 7 8 Some benchmark tests requires network connection (they fetch data from 9 external URL's) and so they fail if no network is present. These tests 10 should be skipped instead. 11 12 * tests/benchmarks/loading/tst_loading.cpp: 13 (tst_Loading::load): Skip test if no network is present. 14 * tests/benchmarks/painting/tst_painting.cpp: 15 (tst_Painting::paint): Skip test if no network is present. 16 1 17 2011-11-11 Sheriff Bot <webkit.review.bot@gmail.com> 2 18 -
trunk/Source/WebKit/qt/tests/benchmarks/loading/tst_loading.cpp
r46152 r100053 17 17 * Boston, MA 02110-1301, USA. 18 18 */ 19 20 #include <QNetworkConfigurationManager> 19 21 20 22 #include <QtTest/QtTest> … … 62 64 63 65 private: 66 QNetworkConfigurationManager m_manager; 64 67 QWebView* m_view; 65 68 QWebPage* m_page; … … 93 96 QFETCH(QUrl, url); 94 97 98 if (!m_manager.isOnline()) 99 QSKIP("This test requires an active network connection", SkipSingle); 95 100 96 101 QBENCHMARK { -
trunk/Source/WebKit/qt/tests/benchmarks/painting/tst_painting.cpp
r56343 r100053 17 17 * Boston, MA 02110-1301, USA. 18 18 */ 19 20 #include <QNetworkConfigurationManager> 19 21 20 22 #include <QtTest/QtTest> … … 64 66 65 67 private: 68 QNetworkConfigurationManager m_manager; 66 69 QWebView* m_view; 67 70 QWebPage* m_page; … … 92 95 { 93 96 QFETCH(QUrl, url); 97 98 if (!m_manager.isOnline()) 99 QSKIP("This test requires an active network connection", SkipSingle); 94 100 95 101 m_view->load(url);
Note:
See TracChangeset
for help on using the changeset viewer.