diff options
author | alex <alex.blasche@nokia.com> | 2011-11-02 18:42:18 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-04 06:34:52 +0100 |
commit | 3f9da0137a022f3e1c6e3282387a75194f701c78 (patch) | |
tree | 97e762185c47edb39a614149d32b34b0616ce310 /tests/auto/qgeocoordinate | |
parent | aa0cdea5b994f28d4b1e3c41fbb1cf824ae16777 (diff) | |
download | qtlocation-3f9da0137a022f3e1c6e3282387a75194f701c78.tar.gz |
Add unit tests for QNmeaPositionInfoSource.
Change-Id: I8fa6cc3c6f0f8f2f5d3de6772a07d8d78bb77f3d
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'tests/auto/qgeocoordinate')
-rw-r--r-- | tests/auto/qgeocoordinate/qlocationtestutils_p.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/auto/qgeocoordinate/qlocationtestutils_p.h b/tests/auto/qgeocoordinate/qlocationtestutils_p.h index cdb69f6a..9add31c5 100644 --- a/tests/auto/qgeocoordinate/qlocationtestutils_p.h +++ b/tests/auto/qgeocoordinate/qlocationtestutils_p.h @@ -45,13 +45,6 @@ #include <QString> #include <QTest> -#define QTRY_COMPARE(a,e) \ - for (int _i = 0; _i < 5000; _i += 100) { \ - if ((a) == (e)) break; \ - QTest::qWait(100); \ - } \ - QCOMPARE(a, e) - #define QTRY_COMPARE_WITH_TIMEOUT(a,e,t) \ for (int _i = 0; _i < t; _i += 100) { \ if ((a) >= (e)) break; \ |