]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Fix python and Qt tests
authorRobert Ancell <robert.ancell@canonical.com>
Mon, 22 Jul 2013 03:56:17 +0000 (15:56 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Mon, 22 Jul 2013 03:56:17 +0000 (15:56 +1200)
tests/src/test-python-greeter
tests/src/test-qt-greeter.cpp

index 2c4e84ab716e685f4bf1df07035b2848e9560063..cf4767bdc5bb47f3d7f3345e5029e7efa2483ed8 100755 (executable)
@@ -251,6 +251,14 @@ if greeter.get_select_user_hint () is not None:
 if greeter.get_select_guest_hint ():
     status_notify ('%s SELECT-GUEST-HINT' % greeter_id)
 if greeter.get_lock_hint ():
-    status_notify ('%s LOCK-HINT' % greeter_id);
+    status_notify ('%s LOCK-HINT' % greeter_id)
+if not greeter.get_has_guest_account_hint ():
+    status_notify ('%s HAS-GUEST-ACCOUNT-HINT=FALSE' % greeter_id)
+if greeter.get_hide_users_hint ():
+    status_notify ('%s HIDE-USERS-HINT' % greeter_id)
+if greeter.get_show_manual_login_hint ():
+    status_notify ('%s SHOW-MANUAL-LOGIN-HINT' % greeter_id)
+if not greeter.get_show_remote_login_hint ():
+    status_notify ('%s SHOW-REMOTE-LOGIN-HINT=FALSE' % greeter_id)
 
 loop.run ()
index 34cf2c7c96e854c84c37e44bf0428e44e2d0d57e..42ff24347fae42a7b17c18e48a746324879a6c49 100644 (file)
@@ -304,6 +304,14 @@ main(int argc, char *argv[])
         status_notify ("%s SELECT-GUEST-HINT", greeter_id);
     if (greeter->lockHint())
         status_notify ("%s LOCK-HINT", greeter_id);
+    if (!greeter->hasGuestAccountHint ())
+        status_notify ("%s HAS-GUEST-ACCOUNT-HINT=FALSE", greeter_id);
+    if (greeter->hideUsersHint ())
+        status_notify ("%s HIDE-USERS-HINT", greeter_id);
+    if (greeter->showManualLoginHint ())
+        status_notify ("%s SHOW-MANUAL-LOGIN-HINT", greeter_id);
+    if (!greeter->showRemoteLoginHint ())
+        status_notify ("%s SHOW-REMOTE-LOGIN-HINT=FALSE", greeter_id);
 
     return app->exec();
 }