aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* tests/CMakeLists.txt: Run test-notification only when building with Lomiri ↵Robert Tari2024-02-011-1/+6
| | | | features
* src, tests: enable notification code path without Lomiri depspersonal/peat-psuwit/bring-back-lomiri-hintsRatchanan Srirattanamet2023-12-261-14/+8
| | | | | | | | With the recent change, the notification code path is no longer Lomiri (or Ubuntu Touch) specific. Theres still some if-def's in the code to avoid adding dependendies in non-Lomiri case.
* Enable all testsRobert Tari2023-09-091-8/+4
|
* Fix failing testsRobert Tari2023-09-091-1/+2
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/108
* engine-eds: fix retrieving custom alarm sound pathRatchanan Srirattanamet2023-06-071-0/+1
| | | | | | | | | | ECal 2.0 returns the list of attachments as a GSList (a singly linked list). I'm not sure why, but the logic for iterating the list is completely incorrect. Fixing that fixes custom alarm sound. A test is added to catch this case. Bug-UBports: https://gitlab.com/ubports/development/apps/lomiri-clock-app/-/issues/183
* Clean up compilation flagsRobert Tari2022-02-111-2/+0
|
* Make Lomiri features configurable at build timeRobert Tari2021-12-031-18/+13
|
* Check for lomiri-schemas package instead of individual filesRobert Tari2021-11-251-2/+2
|
* Remove C(++) std version constraintRobert Tari2021-11-251-1/+1
|
* Check for the lomiri-sounds packageRobert Tari2021-11-221-2/+4
|
* Rename HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to HAS_LOMIRI_ACCTSERVICE_SOUNDRobert Tari2021-11-011-2/+2
|
* tests/CMakeLists.txt: Disable tests that don't work on TravisRobert Tari2021-10-251-5/+3
|
* Exclude test-sound from CI buildsRobert Tari2021-09-161-3/+5
|
* Link to lomiri-url-dispatcher where neededRobert Tari2021-09-091-2/+2
|
* tests/CMakeLists.txt: Use 'CI' instead of 'TRAVIS' for test exclusion - this ↵Robert Tari2021-09-031-4/+4
| | | | should also cover Jenkins
* tests/CMakeLists.txt: Build DBusMock tests with -no-pieRobert Tari2021-08-301-0/+1
|
* tests/CMakeLists.txt: Move -no-pie flag from CXX flags to target linker options.Mike Gabriel2021-08-301-1/+4
|
* Fix failing testsRobert Tari2021-07-211-17/+22
| | | | | | | | | | | | | | | | | - include/actions-mock.h: Set return value to std::string and return an empty string - include/actions.h: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - include/actions-live.h: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - src/actions-live.cpp: Make open_alarm_app, open_appointment, open_calendar_app and open_settings_app return the uri/command - tests/test-live-actions.cpp: Drop last_cmd and last_url variables + use return values of actions-live functions for testing + test phone functions on lomiri only - tests/test-live-actions.cpp: test phone functions after setting XDG_CURRENT_DESKTOP - tests/test-settings.cpp: Use SETTINGS_NOTIFY_SCHEMA_ID only if it exists - tests/run-eds-ics-test.sh: Remove return statement - tests/CMakeLists.txt: Enable the timezone unit tests - tests/CMakeLists.txt: Catch race condition while attempting to copy schemas - tests/CMakeLists.txt: Exclude blocking tests on Travis for now - tests/tests-timezones.cpp: Use MockTimezone to construct LiveTimezones + drop section expecting changes after /timezone is modified (not monitored) - tests/test-formater: Change warning to plain message otherwise it can crash the test - .build.yml: Replace libmessaging-menu-dev with ayatana-indicator-messages Git build
* tests/CMakeLists.txt: add -no-pie compile flagRobert Tari2021-07-151-1/+1
|
* Remove the hard-coding of -g compiler flag.Rodney Dawes2021-07-091-1/+1
|
* Also need PARENT_SCOPE here.Rodney Dawes2021-07-091-1/+1
|
* Set the coverage test targeets from where the tests are added.Rodney Dawes2021-07-091-0/+10
|
* Switch to using gmock module from cmake-extras.Rodney Dawes2021-07-091-10/+5
|
* break test-notification into two separate test unitsCharles Kerr2021-07-091-0/+1
|
* Fixed typos; Updated code based on review requests.Renato Araujo Oliveira Filho2021-07-081-1/+1
|
* Create unit testRenato Araujo Oliveira Filho2021-07-071-0/+1
|
* Detect desktop to launch applications.Renato Araujo Oliveira Filho2021-07-071-1/+1
|
* Created unit test.Renato Araujo Oliveira Filho2021-07-051-1/+3
|
* Create unit test.Renato Araujo Oliveira Filho2021-07-051-0/+1
|
* get event selection up-to-date with the spec, including showing in-progress ↵Charles Kerr2021-07-051-0/+1
| | | | events. add unit tests to cover event priority and display order.
* Move notifications tests into a new unit test. Extract notifications test ↵Charles Kerr2021-07-011-1/+2
| | | | fixture into a reusable header.
* tests/CMakeLists.txt: Try to fix build failure on Debian Testing where cp -f ↵Robert Tari2021-06-271-1/+1
| | | | is performed.
* CMakeLists.txt: Add Clang support.Mike Gabriel2021-05-051-2/+2
|
* tests/CMakeLists.txt: EDS tests are not limited to URL dispatcher builds, so ↵Mike Gabriel2018-03-281-4/+0
| | | | re-enabling them on non-Ubuntu.
* tests/CMakeLists.txt: Only build manual-test-snap on Ubuntu.Mike Gabriel2018-03-281-3/+5
|
* use cmake's configure_file() to generate the test .ics files from .ics.in so ↵Charles Kerr2018-03-261-1/+3
| | | | that we don't have to hardcode the filenames in the test data files either
* tests/CMakeLists.txt: Fix linking when built with URL dispatcher support.Mike Gabriel2018-03-261-1/+1
|
* Fix executable/project name (indicator-datetime -> ↵Mike Gabriel2017-12-081-1/+1
| | | | ayatana-indicator-datetime) at various locations.
* tests/CMakeLists.txt: Also update DG_LOG_DOMAIN namespace in test suite.Mike Gabriel2017-12-081-1/+1
|
* README.md: Add some manual line breaks.Mike Gabriel2017-12-081-3/+3
|
* Indicator namespace adaptations.Mike Gabriel2017-12-081-1/+1
|
* Make the datetime indicator build on non-Ubuntu systems (which mostly lack ↵Mike Gabriel2017-12-081-0/+5
| | | | url-dispatcher and Ubuntu Touch sound schema files.
* glib-fixture: fail tests on unexpected warningsLars Uebernickel2015-09-091-0/+1
| | | | | | | | | This requires specifying which warnings are expected to be thrown (only test-timezone-file needed this for now). However, only fail on warnings in the Indicator-Datetime log domain so that we don't fail on gstreamer (or other library) warnings for now.
* Rename FileTimezone to TimedatedTimezoneIain Lane2015-09-011-1/+1
|
* sync with trunkCharles Kerr2015-07-101-16/+5
|\
| * remove unnecessary pieces from the EDS test scaffolding. clean up script ↵Charles Kerr2015-06-231-16/+5
| | | | | | | | variable names.
* | oops, disabling the other tests was only supposed to be to speed up local ↵Charles Kerr2015-07-091-21/+21
| | | | | | | | tests & wasn't supposed to be pushed
* | add dobey's test case that has 'TZID:Pacific Time (US & Canada)'Charles Kerr2015-07-091-21/+22
| |
* | add failing test for timezone issue in bug #1473068Charles Kerr2015-07-091-0/+1
|/
* add (failing) regression test for x-canonical-alarm components whose valarms ↵Charles Kerr2015-06-171-0/+1
| | | | have no triggers