aboutsummaryrefslogtreecommitdiff
path: root/tests/backend-dbus
Commit message (Collapse)AuthorAgeFilesLines
* tests/backend-dbus/mock-login1-seat.cc: fix build with GCC 13liushuyu2023-07-211-0/+1
|
* UnitySession -> LomiriSession: Re-rename related changes that we erroneously ↵Mike Gabriel2023-02-136-48/+48
| | | | | | | | | | | | | | | | | | | | | | hid away as Ayatana DesktopSession. This brings full Lomiri integration finally. Until now, the session indicator somehow seemed to work, but in some odd ways. On the phone, the session indicator would fallback to direct systemd interaction while on Lomiri in Debian, it would fallback to Zenity dialogs (most of all because Zenity got installed by some other package as a dependency). With this massive renaming change, ayatana-indicator-session should now smoothly interact with the com.lomiri.Shell.Session DBus interface and also with the mimicked GNOME SessionManager End-Session-Dialog interface. As a downside, this change nearly fully removes Unity7 support which would need to be brought back +/- as a full duplicate of what we do for Lomiri. But as noone has dared integrating Ayatana Indicator Session with Unity7, so far, we should be able to live with that for now. Fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/82
* Clean up compilation flagsRobert Tari2022-01-271-2/+0
|
* Use Ayatana as mock userRobert Tari2021-11-031-1/+3
|
* Use -no-pie build flag for tests onlyRobert Tari2021-08-101-0/+3
|
* Convert testing and coverage reporting to cmake-extras styleRobert Tari2021-06-111-17/+4
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/34
* .travis.yml: Don't try running autotools based CI build.Mike Gabriel2021-05-041-0/+3
|
* tests/backend-dbus/CMakeLists.txt: Fix dependecy name: dbusbackend -> ↵Mike Gabriel2021-04-281-1/+1
| | | | backenddbus).
* tests/backend-dbus/CMakeLists.txt: Make sure gdbus-codegen commands ↵Mike Gabriel2021-02-021-0/+2
| | | | (backend-dbus) have run before building the desktopmock tests. Fixes parallel build issues.
* Things are not that simple... Complete previous commit, now switch to ↵Mike Gabriel2017-05-304-32/+32
| | | | org.ayatana.Desktop Dbus session bus name complete.
* Fork from Ubuntu's indicator-session project.Mike Gabriel2015-11-143-9/+6
|
* try to log out with com.canonical.Unity.Session's RequestLogout. If that ↵Charles Kerr2014-04-112-18/+59
| | | | fails, fall back to org.gnome.SessionManager's Logout.
* in MockUnitySession, add support for handling RequestLogoutCharles Kerr2014-04-112-2/+18
|
* MockUnitySession: add new mock for unity session, and use it in testsMarco Trevisan (Treviño)2014-04-105-2/+136
|
* If the Unity dialogs aren't available (such as in the greeter) but zenity ↵Charles Kerr2013-07-121-25/+49
| | | | | | | | | | is, use it to for confirmation dialogs: - add the implementation in actions.c - add actions.c to the i18n files list - sync the unit tests - suggest zenity in debian/control
* in test-users, possible fix to async dbus action timing issue in SetUpCharles Kerr2013-06-281-1/+1
|
* in test-users, fix timing issue in the fixture's SetUpCharles Kerr2013-06-281-1/+4
|
* update comments & documentation to reflect that we've replaced consolekit ↵Charles Kerr2013-06-281-4/+1
| | | | and login1
* copyediting: remove g_messages() added while fixing the tests, remove dead codeCharles Kerr2013-06-255-149/+4
|
* everything in test-guest now passesCharles Kerr2013-06-251-10/+12
|
* TestGuest::Login now passesCharles Kerr2013-06-251-6/+6
|
* test-guest's HelloWorld and Allowed tests now passCharles Kerr2013-06-251-5/+4
|
* all the tests in test-users passCharles Kerr2013-06-251-11/+9
|
* in IndicatorSessionUsers, use the uid as the user's key. Users.ActivateUser ↵Charles Kerr2013-06-251-59/+55
| | | | is now green.
* in tests-users, fix 3 more tests: RealnameChanged, LogInLogOut, ActivateSessionCharles Kerr2013-06-256-85/+69
|
* fix the first four tests in test-users: HelloWorld, InitialUsers, UserAdded, ↵Charles Kerr2013-06-247-39/+141
| | | | and UserRemoved.
* remove unused method MockAccounts::find_by_path()Charles Kerr2013-06-242-13/+0
|
* In tests/, enable debuginfo and warnings for C++ file. Fix a couple of minor ↵Charles Kerr2013-06-242-7/+7
| | | | compile warnings.
* get all the tests in test-actions passing again.Charles Kerr2013-06-2417-1007/+726
|
* port indicator-session to GMenu/cmake. Code coverage increased from 0% to 95.4%.Charles Kerr2013-03-2229-0/+3402