diff options
Diffstat (limited to 'tests/auto/qplacesearchrequest/tst_qplacesearchrequest.cpp')
-rw-r--r-- | tests/auto/qplacesearchrequest/tst_qplacesearchrequest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qplacesearchrequest/tst_qplacesearchrequest.cpp b/tests/auto/qplacesearchrequest/tst_qplacesearchrequest.cpp index 318e8353..bd7589dd 100644 --- a/tests/auto/qplacesearchrequest/tst_qplacesearchrequest.cpp +++ b/tests/auto/qplacesearchrequest/tst_qplacesearchrequest.cpp @@ -268,16 +268,14 @@ void tst_QPlaceSearchRequest::clearTest() category.setName("Fast Food"); req.setCategory(category); req.setLimit(100); - req.setOffset(5); req.clear(); QVERIFY(req.searchTerm().isEmpty()); QVERIFY(req.searchArea() == QGeoShape()); QVERIFY(req.categories().isEmpty()); QVERIFY(req.limit() == -1); - QVERIFY(req.offset() == 0); } -QTEST_APPLESS_MAIN(tst_QPlaceSearchRequest); +QTEST_APPLESS_MAIN(tst_QPlaceSearchRequest) #include "tst_qplacesearchrequest.moc" |