diff options
Diffstat (limited to 'tests/testpreferences.cpp')
-rw-r--r-- | tests/testpreferences.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp index 585044fd0..d950c49f9 100644 --- a/tests/testpreferences.cpp +++ b/tests/testpreferences.cpp @@ -445,23 +445,6 @@ void TestPreferences::testPreferences() TEST(general->pscrRatio(), 1); TEST(general->useDefaultFile(), false); - auto display = pref->display_settings; - display->setDivelistFont("comic"); - display->setFontSize(10.0); - display->setDisplayInvalidDives(true); - - TEST(display->divelistFont(),QStringLiteral("comic")); - TEST(display->fontSize(), 10.0); - TEST(display->displayInvalidDives(), true); - - display->setDivelistFont("helvetica"); - display->setFontSize(14.0); - display->setDisplayInvalidDives(false); - - TEST(display->divelistFont(),QStringLiteral("helvetica")); - TEST(display->fontSize(), 14.0); - TEST(display->displayInvalidDives(), false); - auto language = pref->language_settings; language->setLangLocale ("en_US"); language->setLanguage ("en"); @@ -499,11 +482,6 @@ void TestPreferences::testPreferences() TEST(language->dateFormatOverride(),true); TEST(language->useSystemLanguage(), true); - pref->animation_settings->setAnimationSpeed(20); - TEST(pref->animation_settings->animationSpeed(), 20); - pref->animation_settings->setAnimationSpeed(30); - TEST(pref->animation_settings->animationSpeed(), 30); - auto location = pref->location_settings; location->setTimeThreshold(10); location->setDistanceThreshold(20); |