summaryrefslogtreecommitdiff
path: root/tests/auto/qgeocoordinate
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-07-04 18:31:21 +1000
committerabcd <qt-info@nokia.com>2011-07-04 18:33:51 +1000
commit6090c6b8c62511a1e19f75b9427a1329f2438afa (patch)
tree1c8e86ae84d31c45c91573f1d0a16d0f5a19f868 /tests/auto/qgeocoordinate
parentbd12a61d4d8edf62752f571a1bee8d6118844606 (diff)
downloadqtlocation-6090c6b8c62511a1e19f75b9427a1329f2438afa.tar.gz
fix whitespace
Diffstat (limited to 'tests/auto/qgeocoordinate')
-rw-r--r--tests/auto/qgeocoordinate/qlocationtestutils.cpp4
-rw-r--r--tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp16
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);