summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-24 08:26:09 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-02-24 07:58:16 +0000
commit3f0ac9ca317fbcd512eb2261a9f1b362c4f25155 (patch)
treeed7a51753979fbd768a938909fc20b44ef05c3bd /tests
parente5475dd1c276185cf9aa3f67e58a59b0f53247fa (diff)
downloadqtlocation-3f0ac9ca317fbcd512eb2261a9f1b362c4f25155.tar.gz
Fix QGeoAreaMonitor unit test
QDateTime's QDebug stream operator changed once again. Change-Id: I5aebf2775c0d42bace3e5430220258fd1f09885e 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 549716b2..e61eaf1a 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::TimeSpec(LocalTime))) 45");
+ "persistent: false, expiry: QDateTime( Qt::TimeSpec(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::TimeSpec(LocalTime))) 45");
+ "persistent: true, expiry: QDateTime( Qt::TimeSpec(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::TimeSpec(LocalTime))) 45");
+ "persistent: false, expiry: QDateTime( Qt::TimeSpec(LocalTime))) 45");
// we ignore any further QDateTime related changes to avoid depending on QDateTime related
// failures in case its QDebug string changes