From 80583e63b5ff5c5247df379cb224b3cbd8cce8ab Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Fri, 10 Aug 2018 20:59:42 +0200 Subject: tests: move Geocoding test from testpreferences Remove Geocoding test in testpreferences add the same Geocoding tests to testqPrefGeocoding Signed-off-by: Jan Iversen --- tests/testpreferences.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'tests/testpreferences.cpp') diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp index 92e0596ef..d5ea72095 100644 --- a/tests/testpreferences.cpp +++ b/tests/testpreferences.cpp @@ -57,23 +57,6 @@ void TestPreferences::testPreferences() TEST(pp->po2ThresholdMin(), 4.0); TEST(pp->po2ThresholdMax(), 5.0); - auto geo = qPrefGeocoding::instance(); - geo->set_first_taxonomy_category(TC_NONE); - geo->set_second_taxonomy_category(TC_OCEAN); - geo->set_third_taxonomy_category(TC_COUNTRY); - - TEST(geo->first_taxonomy_category(), TC_NONE); - TEST(geo->second_taxonomy_category(), TC_OCEAN); - TEST(geo->third_taxonomy_category(), TC_COUNTRY); - - geo->set_first_taxonomy_category(TC_OCEAN); - geo->set_second_taxonomy_category(TC_COUNTRY); - geo->set_third_taxonomy_category(TC_NONE); - - TEST(geo->first_taxonomy_category(), TC_OCEAN); - TEST(geo->second_taxonomy_category(), TC_COUNTRY); - TEST(geo->third_taxonomy_category(), TC_NONE); - auto general = pref->general_settings; general->setDefaultFilename("filename"); general->setDefaultCylinder("cylinder_2"); -- cgit v1.2.3-70-g09d2