diff options
author | Nicholas Guriev <nicholas@guriev.su> | 2021-04-24 23:10:17 +0300 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-05 15:47:16 +0200 |
commit | fdd18c9d53ca50b435c5965f748b2c32a745e8a7 (patch) | |
tree | a9ab2a173628697cf17d5547a2601c716d6d86a7 /src/main.cpp | |
parent | 0562b1c0137cd4c6970fc10197c628d26c065577 (diff) | |
download | ayatana-indicator-datetime-fdd18c9d53ca50b435c5965f748b2c32a745e8a7.tar.gz ayatana-indicator-datetime-fdd18c9d53ca50b435c5965f748b2c32a745e8a7.tar.bz2 ayatana-indicator-datetime-fdd18c9d53ca50b435c5965f748b2c32a745e8a7.zip |
Various tests fixes
* Provide default EdsEngine constructor for autotests.
* Temporary disable DST related tests. Something strange happens there.
* Do not create locale datetime for more reliable result on non-UTC systems.
* Specify audio_url for sample Alarms.
Fixes AyatanaIndicators/ayatana-indicator-datetime#32
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0da55a2..fdd84b5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,7 +25,6 @@ #include <datetime/exporter.h> #include <datetime/locations-settings.h> #include <datetime/menu.h> -#include <datetime/myself.h> #include <datetime/planner-aggregate.h> #include <datetime/planner-snooze.h> #include <datetime/planner-range.h> @@ -61,7 +60,7 @@ namespace if (!g_strcmp0("lightdm", g_get_user_name())) engine.reset(new MockEngine); else - engine.reset(new EdsEngine(std::shared_ptr<Myself>(new Myself))); + engine.reset(new EdsEngine); return engine; } |