aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests/backend-dbus/mock-login1-seat.cc: fix build with GCC 13liushuyu2023-07-211-0/+1
|
* Add custom label to admin sectionRobert Tari2023-06-061-1/+15
|
* Add options to hide items in the admin sectionRobert Tari2023-04-271-3/+22
|
* 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-272-3/+0
|
* Use Ayatana as mock userRobert Tari2021-11-031-1/+3
|
* Use -no-pie build flag for tests onlyRobert Tari2021-08-102-2/+4
|
* Convert testing and coverage reporting to cmake-extras styleRobert Tari2021-06-112-25/+11
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-session/issues/34
* .travis.yml: Don't try running autotools based CI build.Mike Gabriel2021-05-042-0/+7
|
* tests/CMakeLists.txt: Only copy test .gschema.xml files, if source and ↵Mike Gabriel2021-04-281-1/+1
| | | | target folder differ.
* 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.
* Fix deprecated symbols and build warningsRobert Tari2020-08-315-25/+20
|
* Whitespace fixRobert Tari2020-08-311-6/+6
|
* tests/test-service.c: Explicitly use curly braces for one-liner if statements.Mike Gabriel2018-03-211-0/+8
|
* tests/CMakeLists.txt: Handle custom command indirectly via custom target.Mike Gabriel2018-03-121-3/+6
|
* Provide to 'Help' menu items. One for Distro Help, one for Desktop Help.Mike Gabriel2017-07-182-6/+19
|
* 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-1412-34/+31
|
* Hide relevant items from session indicator when org.gnome.desktop.lockdown ↵Robert Ancell2014-07-111-0/+125
| | | | disable-lock-screen or disable-user-switching are set to match 12.04 LTS behaviour
* 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
|
* DBusActions: use unity session APIs when unity is runningMarco Trevisan (Treviño)2014-04-105-2/+136
|\ | | | | | | Use Immediate lock when switching, and rely to standard lock (with fade) in normal cases. Fixes: 1305194
| * MockUnitySession: add new mock for unity session, and use it in testsMarco Trevisan (Treviño)2014-04-105-2/+136
| |
* | Don't show a red icon in indicator-session when there's an online user ↵Charles Kerr2014-03-242-29/+33
|\ \ | | | | | | | | | account error. Fixes: 1206550
| * | sync tests to the red-icon-removal change in r436Charles Kerr2014-03-191-6/+1
| | |
| * | copy newer GLibTestFixture wait_for_signal() and wait_msec() methods from ↵Charles Kerr2014-03-191-23/+32
| |/ | | | | | | indicator-datetime's tests to fix noisy g_warnings
* | Update some stringsIain Lane2014-03-191-1/+1
| |
* | Re-add the feature to hide the user list if com.canonical.indicator.session ↵Iain Lane2014-03-192-1/+16
|/ | | | user-show-menu is false
* Adding acceptance tests and merge review policies.Ted Gould2014-01-311-0/+24
|\ | | | | | | Approved by PS Jenkins bot, Charles Kerr.
| * Adding basic acceptance testsTed Gould2014-01-311-0/+24
| |
* | Use username as label if the real name is empty or whitespaceRobert Ancell2013-12-191-0/+30
|/
* look for fallback icons in test-servicesCharles Kerr2013-11-081-1/+1
|
* tests/test-service.cc: adjust test suite for screen lock changesMarc Deslauriers2013-09-251-10/+10
|
* sync tests to look for a header action state of type a{sv} instead of (sssb)Charles Kerr2013-08-121-14/+30
|
* fix failing tests on ppc & add more verbose warnings in the menu sync testsCharles Kerr2013-07-161-2/+3
|
* add the online-accounts action and unit tests for itCharles Kerr2013-07-122-0/+16
|
* 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
* Add a 'can-reboot' property to the Actions class.Charles Kerr2013-07-122-0/+11
| | | | | | | | | This is used for handling a couple of pathological cases where features and states mix and match: 1. unity has the same dialog for 'reboot' and 'power off', so remove the duplicate menuitem, EXCEPT: 2. if the unity prompt isn't available (such as in the greeter), show both menuitems, OR 3. if the user has prompting disabled we need both, OR 4. if the user has the 'power off' button disabled, don't treat 'reboot' as redundant.
* 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
|
* fix test breakage introduced with the recent commit that hides the reboot ↵Charles Kerr2013-06-283-37/+64
| | | | menuitem when running in unity shell
* update comments & documentation to reflect that we've replaced consolekit ↵Charles Kerr2013-06-284-10/+4
| | | | 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
|
* don't pass -std=c++0x to the compiler when building .c filesCharles Kerr2013-06-251-1/+1
|
* 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-255-117/+99
| | | | is now green.