aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * 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
| |
| * Update app name usage to match snaps.Rodney Dawes2021-07-091-1/+1
| |
| * break test-notification into two separate test unitsCharles Kerr2021-07-094-108/+146
| |
| * In main.cpp and tests where Snap is instantiated, provide the system_bus to ↵Charles Kerr2021-07-082-2/+4
| | | | | | | | Snap's constructor
| * Remove gsettings source call during unit tests Set minimal version for ↵Arthur Mello2021-07-081-7/+3
| | | | | | | | gsettings-ubuntu-touch-schemas package
| * Undo revisions 456/457Arthur Mello2021-07-081-27/+9
| |
| * Fixed typos; Updated code based on review requests.Renato Araujo Oliveira Filho2021-07-083-1/+1
| |
| * Fix settings test check so we do not fail if GSettings schema is missingArthur Mello2021-07-081-33/+25
| |
| * Do not fail test if GSettings schema is not installedArthur Mello2021-07-081-1/+23
| |
| * Do not fail tests if schema is not installedArthur Mello2021-07-081-1/+9
| |
| * Make sure that calendar settings do not affect alarm notificationsArthur Mello2021-07-081-0/+6
| |
| * Set calendar notification settings to true in case GSettings schema is not ↵Arthur Mello2021-07-082-0/+16
| | | | | | | | available Make sure calendar notification settings are correct during tests
| * Update indicator-datetime to work with the new notification settingsArthur Mello2021-07-072-83/+54
| |
| * Create unit testRenato Araujo Oliveira Filho2021-07-073-0/+1080
| |
| * Implemented unit test.Renato Araujo Oliveira Filho2021-07-072-0/+122
| |
| * re-enable the calendar component in phone mode tooLukáš Tinkl2021-07-071-2/+2
| |
| * fix glib-fixture.h copyright year in header commentCharles Kerr2021-07-071-1/+1
| |
| * work around g++ 4.9.2 initializer list issue for vividCharles Kerr2021-07-071-1/+1
| |
| * in tests/glib-fixture.h, tweaks to the new idle_add() and timeout_add() helpersCharles Kerr2021-07-071-9/+7
| |
| * add new tests to exercise the Snap::Response codeCharles Kerr2021-07-072-0/+118
| |
| * sync tests with previous commit's Snap::Response changeCharles Kerr2021-07-073-14/+16
| |
| * Detect desktop to launch applications.Renato Araujo Oliveira Filho2021-07-074-54/+31
| |
| * Only creates messaging menu if calendar app is instaled. Update tests.Renato Araujo Oliveira Filho2021-07-062-2/+2
| |
| * Update notifications to use the new calendar icon.Renato Araujo Oliveira Filho2021-07-062-2/+2
| |
| * Update sound test.Renato Araujo Oliveira Filho2021-07-061-2/+3
| |
| * Post message on messaging menu if the notification get timeout.Renato Araujo Oliveira Filho2021-07-062-2/+2
| |
| * sync tests to new ctor arguments for TimedatedTimezone and LiveTimezonesCharles Kerr2021-07-061-4/+4
| |
| * update test-live-actions to last commit's TimedatedFixture changesCharles Kerr2021-07-061-18/+76
| |
| * in tests/, remove the handrolled timedate1 bus mock. It doesn't add anything ↵Charles Kerr2021-07-062-333/+96
| | | | | | | | over the dbusmock template
| * in tests/test-timezone-timedated, fix copy-paste error in commentsCharles Kerr2021-07-061-1/+1
| |
| * in test-timezone-timedated, slightly cleaner mechanism for tzid waitingCharles Kerr2021-07-051-10/+15
| |
| * pull the timezone from timedate1 regardless of whether it appears on the bus ↵Charles Kerr2021-07-051-80/+104
| | | | | | | | before or after we startup
| * Fixed sound file used by event alarms.Renato Araujo Oliveira Filho2021-07-051-8/+8
| |
| * Generate instance of object to get individual alarm information.Renato Araujo Oliveira Filho2021-07-051-1/+3
| |
| * Update non attending test with a recurrence example.Renato Araujo Oliveira Filho2021-07-052-12/+43
| |
| * Update tests.Renato Araujo Oliveira Filho2021-07-051-1/+1
| |
| * Update code as requested by reviewer.Renato Araujo Oliveira Filho2021-07-059-10/+19
| |