[gnome-keyring/dbus-api] [gck] Fix unit test for GckAuthenticator
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-keyring/dbus-api] [gck] Fix unit test for GckAuthenticator
- Date: Tue, 18 Aug 2009 03:47:03 +0000 (UTC)
commit 0b59a1d4ffb5990de4154d23576b64d4fe322345
Author: Stef Walter <stef memberwebs com>
Date: Tue Aug 18 03:37:22 2009 +0000
[gck] Fix unit test for GckAuthenticator
pkcs11/gck/tests/unit-test-authenticator.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pkcs11/gck/tests/unit-test-authenticator.c b/pkcs11/gck/tests/unit-test-authenticator.c
index 33b3507..ae68c47 100644
--- a/pkcs11/gck/tests/unit-test-authenticator.c
+++ b/pkcs11/gck/tests/unit-test-authenticator.c
@@ -246,8 +246,7 @@ DEFINE_TEST(authenticator_login_property)
login = gck_secret_new ((guchar*)"xxx", -1);
gck_authenticator_set_login (auth, login);
check = gck_authenticator_get_login (auth);
- g_assert (n_password == 4);
- g_assert (memcmp (password, "mock", 4) == 0);
+ g_assert (check == login);
g_object_unref (login);
g_object_unref (auth);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]