From 246e55aa9e64add8a23fe6b44f19d3fa3817ad20 Mon Sep 17 00:00:00 2001 From: Aaron McCarthy Date: Wed, 21 Sep 2011 10:51:55 +1000 Subject: Remove ConnectivityModes from QPlaceManager. Change-Id: I1c269d294d9e2187fb0f3e650b5c6941e1877140 Reviewed-on: http://codereview.qt-project.org/5269 Reviewed-by: Qt Sanity Bot Reviewed-by: abcd Reviewed-by: Aaron McCarthy --- tests/auto/geotestplugin/qplacemanagerengine_test.h | 15 --------------- .../qplacecontentrequest/tst_qplacecontentrequest.cpp | 2 +- tests/auto/qplacemanager/tst_qplacemanager.cpp | 2 -- 3 files changed, 1 insertion(+), 18 deletions(-) (limited to 'tests') diff --git a/tests/auto/geotestplugin/qplacemanagerengine_test.h b/tests/auto/geotestplugin/qplacemanagerengine_test.h index 49b8de64..62d7852a 100644 --- a/tests/auto/geotestplugin/qplacemanagerengine_test.h +++ b/tests/auto/geotestplugin/qplacemanagerengine_test.h @@ -115,21 +115,6 @@ public: return 0; } - QPlaceManager::ConnectivityModes connectivityMode() const - { - return QPlaceManager::OnlineMode; - } - - void setConnectivityMode(QPlaceManager::ConnectivityModes mode) - { - Q_UNUSED(mode) - } - - QPlaceManager::ConnectivityModes supportedConnectivityModes() const - { - return QPlaceManager::OnlineMode; - } - QPlaceIdReply *savePlace(const QPlace &place, QPlaceManager::VisibilityScope scope) { Q_UNUSED(place) diff --git a/tests/auto/qplacecontentrequest/tst_qplacecontentrequest.cpp b/tests/auto/qplacecontentrequest/tst_qplacecontentrequest.cpp index 434e47c5..b2556311 100644 --- a/tests/auto/qplacecontentrequest/tst_qplacecontentrequest.cpp +++ b/tests/auto/qplacecontentrequest/tst_qplacecontentrequest.cpp @@ -112,6 +112,6 @@ void tst_QPlaceContentRequest::clearTest() QVERIFY(req.offset() == 0); } -QTEST_APPLESS_MAIN(tst_QPlaceContentRequest); +QTEST_APPLESS_MAIN(tst_QPlaceContentRequest) #include "tst_qplacecontentrequest.moc" diff --git a/tests/auto/qplacemanager/tst_qplacemanager.cpp b/tests/auto/qplacemanager/tst_qplacemanager.cpp index 07ceff15..c2f51520 100644 --- a/tests/auto/qplacemanager/tst_qplacemanager.cpp +++ b/tests/auto/qplacemanager/tst_qplacemanager.cpp @@ -77,8 +77,6 @@ void tst_QPlaceManager::testMetadata() { QCOMPARE(placeManager->managerName(), QLatin1String("qmlgeo.test.plugin")); QCOMPARE(placeManager->managerVersion(), 3); - - QVERIFY(placeManager->connectivityMode() == QPlaceManager::OnlineMode); } void tst_QPlaceManager::testLocale() -- cgit v1.2.1