From c97bb239b2e13f48b50a68a022aa448cfe3252cb Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 6 Aug 2018 18:18:05 +0200 Subject: tests: move LocationService test from testpreferences Remove LocationService test in testpreferences add the same LocationService tests to testqPrefLocationService Signed-off-by: Jan Iversen --- tests/testpreferences.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'tests/testpreferences.cpp') 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) -- cgit v1.2.3-70-g09d2