diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-04-18 14:40:26 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-18 16:06:41 +0200 |
commit | 051e155454bf8a12de7ea4615dfaf935a680b489 (patch) | |
tree | b6d2a038b3203a1612ef1cd058ca02674a01901b /tests/auto/qgeopositioninfo | |
parent | e0b1523002fcfc28d389aee6594973d82928aebe (diff) | |
download | qtlocation-051e155454bf8a12de7ea4615dfaf935a680b489.tar.gz |
QtLocation: Fix compilation after the merging of api_changes.
Sort the items in the QGeoPositionInfo debug stream operator
since a QHash is no longer sorted and the autotest relies
on the order.
Change-Id: I607fef2b09de8b80ddce9a27ca16aa08641ca8b4
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests/auto/qgeopositioninfo')
-rw-r--r-- | tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp b/tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp index 23880e69..7fe788cd 100644 --- a/tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp +++ b/tests/auto/qgeopositioninfo/tst_qgeopositioninfo.cpp @@ -367,7 +367,10 @@ private slots: qInstallMsgHandler(0); // use endsWith() so we don't depend on QDateTime's debug() implementation - QVERIFY(tst_qgeopositioninfo_debug.endsWith(debugStringEnd)); + QVERIFY2(tst_qgeopositioninfo_debug.endsWith(debugStringEnd), + qPrintable(QString::fromLatin1("'%1' does not end with '%2'"). + arg(QLatin1String(tst_qgeopositioninfo_debug), + QLatin1String(debugStringEnd)))); } void debug_data() |