diff options
author | jan Iversen <jani@apache.org> | 2018-07-05 22:34:04 +0200 |
---|---|---|
committer | jan Iversen <jani@apache.org> | 2018-07-12 18:44:31 +0200 |
commit | 8f7f1cacd60f150f5d2520d3c9c47d31322fd4c1 (patch) | |
tree | 1d498700825dcd70378354ac633b8bbceb515a03 /tests/testpreferences.cpp | |
parent | 928fc1ee79a4391384f448cb75369ddb5e03ef28 (diff) | |
download | subsurface-8f7f1cacd60f150f5d2520d3c9c47d31322fd4c1.tar.gz |
tests: make qprefdisplay test file
Remove display tests from testpreferences and make a new file
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testpreferences.cpp')
-rw-r--r-- | tests/testpreferences.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp index 38c132ee5..7a0fa64fd 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 = qPrefDisplay::instance(); - display->set_divelist_font("comic"); - display->set_font_size(10.0); - display->set_display_invalid_dives(true); - - TEST(display->divelist_font(),QStringLiteral("comic")); - TEST(display->font_size(), 10.0); - TEST(display->display_invalid_dives(), true); - - display->set_divelist_font("helvetica"); - display->set_font_size(14.0); - display->set_display_invalid_dives(false); - - TEST(display->divelist_font(),QStringLiteral("helvetica")); - TEST(display->font_size(), 14.0); - TEST(display->display_invalid_dives(), false); - auto language = pref->language_settings; language->setLangLocale ("en_US"); language->setLanguage ("en"); |