diff options
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qgeocoordinate/qlocationtestutils.cpp | 4 | ||||
-rw-r--r-- | tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/auto/qgeocoordinate/qlocationtestutils.cpp b/tests/auto/qgeocoordinate/qlocationtestutils.cpp index 4b484a63..560ebc52 100644 --- a/tests/auto/qgeocoordinate/qlocationtestutils.cpp +++ b/tests/auto/qgeocoordinate/qlocationtestutils.cpp @@ -65,8 +65,8 @@ bool QLocationTestUtils::hasDefaultSource() return true; #elif defined (Q_OS_WINCE) return true; -#else - return false; +#else + return false; #endif } diff --git a/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp b/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp index cab2f8b0..1a438804 100644 --- a/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp +++ b/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp @@ -70,7 +70,7 @@ QByteArray tst_qgeocoordinate_debug; void tst_qgeocoordinate_messageHandler(QtMsgType type, const char *msg) { - switch(type) { + switch (type) { case QtDebugMsg : tst_qgeocoordinate_debug = QByteArray(msg); break; @@ -528,16 +528,16 @@ private slots: QTest::addColumn<QGeoCoordinate>("result"); QTest::newRow("invalid coord") - << QGeoCoordinate() - << qreal(1000.0) - << qreal(10.0) + << QGeoCoordinate() + << qreal(1000.0) + << qreal(10.0) << QGeoCoordinate(); QTest::newRow("brisbane -> melbourne") - << BRISBANE + << BRISBANE << qreal(1374820.1618767744) << qreal(211.1717286649) // the following platforms use float for qreal -#if !defined(QT_NO_FPU) && !defined(QT_ARCH_ARM) && !defined(QT_ARCH_WINDOWSCE) && !defined(QT_ARCH_SYMBIAN) +#if !defined(QT_NO_FPU) && !defined(QT_ARCH_ARM) && !defined(QT_ARCH_WINDOWSCE) && !defined(QT_ARCH_SYMBIAN) << MELBOURNE; #else << QGeoCoordinate(-37.8142515084775, 144.963170622944); @@ -547,7 +547,7 @@ private slots: << qreal(5570538.4987236429) << qreal(288.3388804508) // the following platforms use float for qreal -#if !defined(QT_NO_FPU) && !defined(QT_ARCH_ARM) && !defined(QT_ARCH_WINDOWSCE) && !defined(QT_ARCH_SYMBIAN) +#if !defined(QT_NO_FPU) && !defined(QT_ARCH_ARM) && !defined(QT_ARCH_WINDOWSCE) && !defined(QT_ARCH_SYMBIAN) << NEW_YORK; #else << QGeoCoordinate(40.7145220608416, -74.0071216045375); @@ -557,7 +557,7 @@ private slots: << qreal(20015109.4154876769) << qreal(180.0) // the following platforms use float for qreal -#if !defined(QT_NO_FPU) && !defined(QT_ARCH_ARM) && !defined(QT_ARCH_WINDOWSCE) && !defined(QT_ARCH_SYMBIAN) +#if !defined(QT_NO_FPU) && !defined(QT_ARCH_ARM) && !defined(QT_ARCH_WINDOWSCE) && !defined(QT_ARCH_SYMBIAN) << SOUTH_POLE; #else << QGeoCoordinate(-89.9999947369857, -90.0); |