summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-10 13:00:47 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-02-10 14:01:09 +0000
commitc12715e78f002cba80d225113a504bb12d1b0e1d (patch)
tree1e7a731c7a9a7c956c6d08347580f914cd7a2be8 /tests
parent521e03b50e6f4c89c5daffbc28a53598f4a02b03 (diff)
downloadqtlocation-c12715e78f002cba80d225113a504bb12d1b0e1d.tar.gz
Fix failing qgeoareamonitorinfo unit test
QDateTime's QDebug operator recently changed and caused this test to fail. Change-Id: I8c6dcb316195c0d5e777cb5d1d2cde684b8369a1 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp b/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp
index 9ae6eac8..da95afc4 100644
--- a/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp
+++ b/tests/auto/qgeoareamonitor/tst_qgeoareamonitor.cpp
@@ -718,14 +718,14 @@ private slots:
QGeoAreaMonitorInfo info;
QTest::newRow("uninitialized") << info << 45
<< QString("QGeoAreaMonitorInfo(\"\", QGeoShape(Unknown), "
- "persistent: false, expiry: QDateTime(\" Qt::LocalTime\") ) 45");
+ "persistent: false, expiry: QDateTime(\" Qt::LocalTime\")) 45");
info.setArea(QGeoRectangle());
info.setPersistent(true);
info.setName("RectangleAreaMonitor");
QTest::newRow("Rectangle Test") << info << 45
<< QString("QGeoAreaMonitorInfo(\"RectangleAreaMonitor\", QGeoShape(Rectangle), "
- "persistent: true, expiry: QDateTime(\" Qt::LocalTime\") ) 45");
+ "persistent: true, expiry: QDateTime(\" Qt::LocalTime\")) 45");
info = QGeoAreaMonitorInfo();
info.setArea(QGeoCircle());
@@ -736,7 +736,7 @@ private slots:
info.setNotificationParameters(map);
QTest::newRow("Circle Test") << info << 45
<< QString("QGeoAreaMonitorInfo(\"CircleAreaMonitor\", QGeoShape(Circle), "
- "persistent: false, expiry: QDateTime(\" Qt::LocalTime\") ) 45");
+ "persistent: false, expiry: QDateTime(\" Qt::LocalTime\")) 45");
// we ignore any further QDateTime related changes to avoid depending on QDateTime related
// failures in case its QDebug string changes