[network-manager-applet] test: clear the fake keyring after each test



commit 6cc86ad3a4507a1de65a1271a2c7e398eea48aad
Author: Dan Williams <dcbw redhat com>
Date:   Mon Apr 4 16:05:07 2011 -0500

    test: clear the fake keyring after each test

 src/gconf-helpers/tests/test-upgrade.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gconf-helpers/tests/test-upgrade.c b/src/gconf-helpers/tests/test-upgrade.c
index d2f3db8..2dd85e8 100644
--- a/src/gconf-helpers/tests/test-upgrade.c
+++ b/src/gconf-helpers/tests/test-upgrade.c
@@ -208,6 +208,8 @@ test_keyring (void)
 	                                      NULL);
 	g_assert_cmpint (ret, ==, GNOME_KEYRING_RESULT_OK);
 	g_assert (g_list_length (found_list) == 0);
+
+	fake_keyring_clear ();
 }
 
 #define KEYRING_UUID_TAG "connection-uuid"
@@ -305,6 +307,7 @@ test_upgrade_08_wifi (void)
 	nm_gconf_move_connections_to_system (upgrade_08_wifi_cb, NULL);
 
 	g_object_unref (client);
+	fake_keyring_clear ();
 }
 
 static void
@@ -374,6 +377,7 @@ test_upgrade_08_vpnc (void)
 	nm_gconf_move_connections_to_system (upgrade_08_vpnc_cb, NULL);
 
 	g_object_unref (client);
+	fake_keyring_clear ();
 }
 
 /*******************************************/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]