mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
tests: add qPrefAnimations testcases
add test cases to secure struct preferences and qPrefAnimations work together remove animation tests from testpreferences Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
d4e76dac9e
commit
33949735f2
4 changed files with 101 additions and 5 deletions
|
|
@ -482,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue