aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|
* in the tests, use login1's terminology 'power off', 'reboot'Charles Kerr2013-06-242-20/+20
|
* remove the --replace command-line argument and property as we're using ↵Charles Kerr2013-06-201-6/+1
| | | | upstart for that
* use the production dbus nameCharles Kerr2013-06-191-3/+3
|
* silence unused variable warningCharles Kerr2013-06-191-1/+1
|
* port indicator-session to GMenu/cmake. Code coverage increased from 0% to 95.4%.Charles Kerr2013-03-2245-187/+5220
|
* Make use of XORG_GTEST_LDFLAGS that xorg-gtest can export to know whether ↵Mathieu Trudel-Lapierre2013-03-051-0/+1
| | | | there are extra libraries we should link against.
* Revise path to gtest source files; the files moved in libxorg-gtest-devMathieu Trudel-Lapierre2013-01-221-2/+2
|
* Remove the uses of deprecated g_type_init().Mathieu Trudel-Lapierre2013-01-221-1/+0
|
* Rename localcheck to integrationcheck; update autopkgtest test.Mathieu Trudel-Lapierre2013-01-141-4/+4
|
* Move TestCanStartService into a separate make target "localcheck"; so thatMathieu Trudel-Lapierre2012-12-051-2/+7
| | | | | the other tests can successfully run, and this one be used as an integration check.
* revert the g_message() tracers added in r372Charles Kerr2012-11-131-4/+0
|
* ensure that the service unit test can find all the GSettings schemas that it ↵Charles Kerr2012-11-084-7/+260
| | | | needs.
* wrap the g_dbus_connection_call_sync() calls in g_message to see whether or ↵Charles Kerr2012-11-071-0/+4
| | | | not this is where the jenkins failures are coming from
* remove unused function CallIndicatorServiceMethod()Charles Kerr2012-11-061-14/+3
|
* Reimplement test-service s.t. we actually test activating the service via ↵Charles Kerr2012-11-064-457/+153
| | | | dbus. Drop unneeded Xorg baggage.