aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'personal/peat-psuwit/bring-back-lomiri-hints'Mike Gabriel2024-01-314-27/+73
|\ | | | | | | Attributes GH PR #115: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/115
| * src, tests: enable notification code path without Lomiri depspersonal/peat-psuwit/bring-back-lomiri-hintsRatchanan Srirattanamet2023-12-264-35/+69
| | | | | | | | | | | | | | | | 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.
| * Bring back Lomiri-specific notification hintsRatchanan Srirattanamet2023-12-072-0/+12
| | | | | | | | | | | | | | | | | | | | | | As discussed in [1], Lomiri has a custom logic in notification timeout and require the custom hint for timeout to work correctly. Restore the hints from commit 0a88a8d7 ("Remove osd-notify remnants and use native notification timeout"), while keeping the standard timeout in place. Lomiri will ignore standard timeout, while other DE's will ignore the extra hint. [1] https://gitlab.com/ubports/development/core/content-hub/-/merge_requests/32#note_1552217874
* | Add option to show/hide alarmskugiigi2023-12-191-0/+13
| |
* | Also apply show-events to Phone profilekugiigi2023-12-161-0/+8
|/
* Enable all testsRobert Tari2023-09-091-8/+4
|
* Fix failing testsRobert Tari2023-09-093-6/+8
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/108
* Remove osd-notify remnants and use native notification timeoutRobert Tari2023-09-092-12/+8
|
* engine-eds: fix retrieving custom alarm sound pathRatchanan Srirattanamet2023-07-103-0/+125
| | | | | | | | | | 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
* tests/run-eds-ics-test: don't eat away test's resultRatchanan Srirattanamet2023-06-071-0/+3
| | | | | | Well, not exiting with the return code as the last step means that tests has been failing silently for a while now. This commit reveals that, but doesn't fix any test that fails.
* Fix build failure due to missing #includeRobert Tari2022-11-137-14/+14
|
* Clean up compilation flagsRobert Tari2022-02-111-2/+0
|
* Fix cppcheck errors/warningsRobert Tari2022-02-086-15/+12
|
* tests/test-menu-appointments.cpp: Remove unused variablesRobert Tari2022-02-081-64/+0
|
* Remove unused print-to.hRobert Tari2022-02-0812-100/+6
|
* Whitespace fixRobert Tari2022-02-081-1/+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
|
* Re-enable haptic using hfd-serviceRobert Tari2021-11-183-9/+7
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/67
* Rename Lomiri-specific properties to x-lomiriRobert Tari2021-11-095-6/+6
|
* tests/manual: Update and fix textRobert Tari2021-11-031-21/+21
|
* Whitespace fixRobert Tari2021-11-031-81/+81
|
* Rename HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to HAS_LOMIRI_ACCTSERVICE_SOUNDRobert Tari2021-11-011-2/+2
|
* Rename com.ubuntu.touch.AccountsService.Sound to ↵Robert Tari2021-11-011-1/+1
| | | | com.lomiri.touch.AccountsService.Sound
* Use lomiri-phablet instead of ubuntuRobert Tari2021-10-295-19/+19
|
* Remove com.canonical.usensord and disable hapticRobert Tari2021-10-281-1/+3
|
* Remove the activation_url from the Appointment classRobert Tari2021-10-281-2/+3
|
* Drop the 'ubuntu' prefix from the alarm types and functionsRobert Tari2021-10-289-20/+36
|
* Renaname x-canonical properties to x-ayatanaRobert Tari2021-10-265-6/+6
|
* 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
|
* tests/test-live-actions: Handle case when the test is run on LomiriRobert Tari2021-09-101-1/+23
|
* Link to lomiri-url-dispatcher where neededRobert Tari2021-09-091-2/+2
|
* tests/run-eds-ics-test.sh: Sleep a little before cleanup to make sure gvfs ↵Robert Tari2021-09-031-1/+2
| | | | is released + drop the rm -d flag
* tests/CMakeLists.txt: Use 'CI' instead of 'TRAVIS' for test exclusion - this ↵Robert Tari2021-09-031-4/+4
| | | | should also cover Jenkins
* Use legacy canonical names for nowRobert Tari2021-09-012-3/+3
|
* tests/run-eds-ics-test.sh: Also remove empty directoriesRobert Tari2021-09-011-1/+1
|
* tests/CMakeLists.txt: Build DBusMock tests with -no-pieRobert Tari2021-08-301-0/+1
|
* Merge branch 'tari01-pr/fix-failing-tests'Robert Tari2021-08-308-65/+94
|\ | | | | | | Attributes GH PR #47: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/47
| * tests/CMakeLists.txt: Move -no-pie flag from CXX flags to target linker options.Mike Gabriel2021-08-301-1/+4
| |
| * add a DBusMock test Fixture with helper functions to wait for arbitrary bus ↵Charles Kerr2021-08-301-14/+0
| | | | | | | | method calls
| * Move notifications tests into a new unit test. Extract notifications test ↵Charles Kerr2021-08-301-2/+0
| | | | | | | | fixture into a reusable header.
| * Replace deprecated pre-processor symbolsRobert Tari2021-08-301-0/+14
| |
| * Fix failing testsRobert Tari2021-07-217-68/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| |
| * Fix the EDS tests that were failing.Rodney Dawes2021-07-092-2/+2
| |
| * Fix clock app URL.Rodney Dawes2021-07-091-1/+1
| |
| * Remove the hard-coding of -g compiler flag.Rodney Dawes2021-07-091-1/+1
| |