diff options
author | jan Iversen <jani@apache.org> | 2018-08-06 18:18:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-12 11:30:19 -0700 |
commit | c97bb239b2e13f48b50a68a022aa448cfe3252cb (patch) | |
tree | 24f7359b7e8f376873a8d4a7819e169e10347810 /tests/testpreferences.cpp | |
parent | 3174c7156371f64efedcf19281ea0dc565f23bf8 (diff) | |
download | subsurface-c97bb239b2e13f48b50a68a022aa448cfe3252cb.tar.gz |
tests: move LocationService test from testpreferences
Remove LocationService test in testpreferences
add the same LocationService tests to testqPrefLocationService
Signed-off-by: Jan Iversen <jani@apache.org>
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) |