summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2014-07-30 18:12:27 +0200
committerPierre Rossi <pierre.rossi@gmail.com>2014-08-04 16:55:53 +0200
commita19baad6297c5ff043f531e1bf664e7039d17fe1 (patch)
treed20381344e9ef229a20ceb879e1d121c30892d81 /tests
parent202d2ac93c4b4d6aed49eaa5793c35a9071f4602 (diff)
Do away without QWebEngineWidgets::initialize
If we consider the plugin scenario is unlikely and decide it's unsupported for widgets, we can simplify our tests and examples a bit on this front. Change-Id: Idc96032c127b4ee74fb5c7b3d2cdfdf99c3a722e Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/qwebengineaccessibility/tst_qwebengineaccessibility.cpp1
-rw-r--r--tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp1
-rw-r--r--tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp1
-rw-r--r--tests/auto/widgets/qwebenginehistoryinterface/tst_qwebenginehistoryinterface.cpp1
-rw-r--r--tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp1
-rw-r--r--tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp1
6 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/widgets/qwebengineaccessibility/tst_qwebengineaccessibility.cpp b/tests/auto/widgets/qwebengineaccessibility/tst_qwebengineaccessibility.cpp
index d0c4fd527..bb1bd94ad 100644
--- a/tests/auto/widgets/qwebengineaccessibility/tst_qwebengineaccessibility.cpp
+++ b/tests/auto/widgets/qwebengineaccessibility/tst_qwebengineaccessibility.cpp
@@ -46,7 +46,6 @@ private Q_SLOTS:
// It is only called once.
void tst_QWebEngineView::initTestCase()
{
- QWebEngineWidgets::initialize();
}
// This will be called after the last test function is executed.
diff --git a/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp b/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
index 1fc4aaea5..1e979b3c5 100644
--- a/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
+++ b/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
@@ -118,7 +118,6 @@ bool tst_QWebEngineFrame::eventFilter(QObject* watched, QEvent* event)
void tst_QWebEngineFrame::initTestCase()
{
- QWebEngineWidgets::initialize();
}
void tst_QWebEngineFrame::init()
diff --git a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp
index 07427774a..a329b7307 100644
--- a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp
+++ b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp
@@ -89,7 +89,6 @@ tst_QWebEngineHistory::~tst_QWebEngineHistory()
void tst_QWebEngineHistory::initTestCase()
{
- QWebEngineWidgets::initialize();
}
void tst_QWebEngineHistory::init()
diff --git a/tests/auto/widgets/qwebenginehistoryinterface/tst_qwebenginehistoryinterface.cpp b/tests/auto/widgets/qwebenginehistoryinterface/tst_qwebenginehistoryinterface.cpp
index 93714255b..4666d1ba4 100644
--- a/tests/auto/widgets/qwebenginehistoryinterface/tst_qwebenginehistoryinterface.cpp
+++ b/tests/auto/widgets/qwebenginehistoryinterface/tst_qwebenginehistoryinterface.cpp
@@ -61,7 +61,6 @@ tst_QWebEngineHistoryInterface::~tst_QWebEngineHistoryInterface()
void tst_QWebEngineHistoryInterface::initTestCase()
{
- QWebEngineWidgets::initialize();
}
void tst_QWebEngineHistoryInterface::init()
diff --git a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
index ac71e9246..ca3740715 100644
--- a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
+++ b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
@@ -229,7 +229,6 @@ void tst_QWebEnginePage::cleanupFiles()
void tst_QWebEnginePage::initTestCase()
{
- QWebEngineWidgets::initialize();
cleanupFiles(); // In case there are old files from previous runs
}
diff --git a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
index f105fe8c8..3893397cd 100644
--- a/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
+++ b/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp
@@ -63,7 +63,6 @@ private Q_SLOTS:
// It is only called once.
void tst_QWebEngineView::initTestCase()
{
- QWebEngineWidgets::initialize();
}
// This will be called after the last test function is executed.