diff options
author | abcd <amos.choy@nokia.com> | 2011-11-14 11:11:27 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-16 05:36:56 +0100 |
commit | 4beb6dfa7f818ced9aff296728519d4a6590eb5c (patch) | |
tree | 3d2d85519e8f90968cb7601cd14061a4f4b8796e /tests | |
parent | c19ae8bf96cd4135955347baebe18caafc9fc841 (diff) | |
download | qtlocation-4beb6dfa7f818ced9aff296728519d4a6590eb5c.tar.gz |
Cpp Documentation class documentation + plugin documentation
Change-Id: I52e9eee45b96c42500108646880f500df9dae55d
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qplacesearchresult/tst_qplacesearchresult.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qplacesearchresult/tst_qplacesearchresult.cpp b/tests/auto/qplacesearchresult/tst_qplacesearchresult.cpp index 5cedb44e..5e2900e3 100644 --- a/tests/auto/qplacesearchresult/tst_qplacesearchresult.cpp +++ b/tests/auto/qplacesearchresult/tst_qplacesearchresult.cpp @@ -58,7 +58,7 @@ void tst_QPlaceSearchResult::test() QPlaceSearchResult result; QCOMPARE(result.type(), QPlaceSearchResult::UnknownSearchResult); - QCOMPARE(result.distance(), 0.0); + QVERIFY(qIsNaN(result.distance())); QCOMPARE(result.place(), QPlace()); QVERIFY(result.correction().isEmpty()); |