summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2019-01-22 15:45:20 +0100
committerJesus Fernandez <Jesus.Fernandez@qt.io>2019-01-23 11:53:14 +0000
commit20a64642c1c4a535b750e8b86435141ca432b050 (patch)
tree4287c9def6419a5522a69c47e4a5399c8aae8010 /tests
parent8fbab5c949bf0fe1ec5e1e452a9c475681d7edc4 (diff)
Unify semicolon usage in Q_UNUSED
Change-Id: I36dd6881b6f6f028869d63b6311cba7f52a99cc4 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/geotestplugin/qgeocodingmanagerengine_test.h4
-rw-r--r--tests/auto/geotestplugin/qgeomappingmanagerengine_test.h4
-rw-r--r--tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h6
-rw-r--r--tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h4
-rw-r--r--tests/auto/positionplugin/plugin.cpp4
-rw-r--r--tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h4
-rw-r--r--tests/auto/qgeoroutingmanagerplugins/qgeoroutingmanagerengine_test.h4
7 files changed, 15 insertions, 15 deletions
diff --git a/tests/auto/geotestplugin/qgeocodingmanagerengine_test.h b/tests/auto/geotestplugin/qgeocodingmanagerengine_test.h
index 5a8ff451..fd92f6e3 100644
--- a/tests/auto/geotestplugin/qgeocodingmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeocodingmanagerengine_test.h
@@ -93,8 +93,8 @@ public:
timerId_(0),
errorCode_(QGeoCodeReply::NoError)
{
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
if (parameters.contains("supported"))
supported_ = qvariant_cast<bool>(parameters.value("supported"));
if (parameters.contains("finishRequestImmediately"))
diff --git a/tests/auto/geotestplugin/qgeomappingmanagerengine_test.h b/tests/auto/geotestplugin/qgeomappingmanagerengine_test.h
index 07d832c2..828d95bc 100644
--- a/tests/auto/geotestplugin/qgeomappingmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeomappingmanagerengine_test.h
@@ -77,8 +77,8 @@ public:
timerId_(0),
errorCode_(QGeoTiledMapReply::NoError)
{
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
if (parameters.contains("finishRequestImmediately"))
finishRequestImmediately_ = qvariant_cast<bool>(parameters.value("finishRequestImmediately"));
setLocale(QLocale (QLocale::German, QLocale::Germany));
diff --git a/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h b/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
index 303015b7..7a6d6cec 100644
--- a/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
@@ -56,7 +56,7 @@ public:
void setTravelTime(int travelTime) override
{
- Q_UNUSED(travelTime)
+ Q_UNUSED(travelTime);
}
};
@@ -101,8 +101,8 @@ public:
errorCode_(QGeoRouteReply::NoError),
alternateGeoRouteImplementation_(false)
{
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
if (parameters.contains("gc_finishRequestImmediately")) {
finishRequestImmediately_ = qvariant_cast<bool>(parameters.value("gc_finishRequestImmediately"));
diff --git a/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h b/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h
index 0db78336..f5279530 100644
--- a/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeotiledmappingmanagerengine_test.h
@@ -49,8 +49,8 @@ public:
QGeoServiceProvider::Error *error, QString *errorString) :
QGeoTiledMappingManagerEngine()
{
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
setLocale(QLocale (QLocale::German, QLocale::Germany));
QGeoCameraCapabilities capabilities;
diff --git a/tests/auto/positionplugin/plugin.cpp b/tests/auto/positionplugin/plugin.cpp
index 919549db..a15a89a5 100644
--- a/tests/auto/positionplugin/plugin.cpp
+++ b/tests/auto/positionplugin/plugin.cpp
@@ -199,14 +199,14 @@ QGeoPositionInfoSource *QGeoPositionInfoSourceFactoryTest::positionInfoSource(QO
QGeoSatelliteInfoSource *QGeoPositionInfoSourceFactoryTest::satelliteInfoSource(QObject *parent)
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
// not implemented
return 0;
}
QGeoAreaMonitorSource *QGeoPositionInfoSourceFactoryTest::areaMonitor(QObject* parent)
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return 0;
}
diff --git a/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h b/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h
index 6d887646..0f505f77 100644
--- a/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h
+++ b/tests/auto/qgeocodingmanagerplugins/qgeocodingmanagerengine_test.h
@@ -64,8 +64,8 @@ public:
QGeoServiceProvider::Error *error, QString *errorString) :
QGeoCodingManagerEngine(parameters)
{
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
setLocale(QLocale(QLocale::German, QLocale::Germany));
}
diff --git a/tests/auto/qgeoroutingmanagerplugins/qgeoroutingmanagerengine_test.h b/tests/auto/qgeoroutingmanagerplugins/qgeoroutingmanagerengine_test.h
index cb75fecb..67c8f651 100644
--- a/tests/auto/qgeoroutingmanagerplugins/qgeoroutingmanagerengine_test.h
+++ b/tests/auto/qgeoroutingmanagerplugins/qgeoroutingmanagerengine_test.h
@@ -46,8 +46,8 @@ public:
QGeoServiceProvider::Error *error, QString *errorString) :
QGeoRoutingManagerEngine(parameters)
{
- Q_UNUSED(error)
- Q_UNUSED(errorString)
+ Q_UNUSED(error);
+ Q_UNUSED(errorString);
setSupportedTravelModes(QGeoRouteRequest::PedestrianTravel);
setSupportedFeatureTypes(QGeoRouteRequest::TollFeature);
setSupportedFeatureWeights(QGeoRouteRequest::PreferFeatureWeight);