diff options
Diffstat (limited to 'tests/testpreferences.cpp')
-rw-r--r-- | tests/testpreferences.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp index 47de21219..0a4492c00 100644 --- a/tests/testpreferences.cpp +++ b/tests/testpreferences.cpp @@ -146,19 +146,6 @@ void TestPreferences::testPreferences() TEST(language->timeFormatOverride(), true); TEST(language->dateFormatOverride(), true); TEST(language->useSystemLanguage(), true); - - auto location = qPrefLocationService::instance(); - location->set_time_threshold(10); - location->set_distance_threshold(20); - - TEST(location->time_threshold(), 10); - TEST(location->distance_threshold(), 20); - - location->set_time_threshold(30); - location->set_distance_threshold(40); - - TEST(location->timeThreshold(), 30); - TEST(location->distanceThreshold(), 40); } QTEST_MAIN(TestPreferences) |