[gnome-software] trivial: Fix make check now GS_PLUGIN_STATUS_FINISHED exists
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix make check now GS_PLUGIN_STATUS_FINISHED exists
- Date: Mon, 11 Mar 2013 20:10:50 +0000 (UTC)
commit 0898c87af17e0d50a35b52ef032dcde6773a4e65
Author: Richard Hughes <richard hughsie com>
Date: Mon Mar 11 08:38:15 2013 +0000
trivial: Fix make check now GS_PLUGIN_STATUS_FINISHED exists
src/gs-self-test.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-self-test.c b/src/gs-self-test.c
index 2056bc1..40e412f 100644
--- a/src/gs-self-test.c
+++ b/src/gs-self-test.c
@@ -92,6 +92,7 @@ gs_plugin_loader_func (void)
list = gs_plugin_loader_get_popular (loader, NULL, &error);
g_assert_no_error (error);
g_assert (list != NULL);
+ g_assert_cmpint (_status_changed_cnt, ==, 1);
g_assert_cmpint (g_list_length (list), ==, 6);
app = g_list_nth_data (list, 0);
g_assert_cmpstr (gs_app_get_id (app), ==, "gnome-boxes");
@@ -108,7 +109,7 @@ gs_plugin_loader_func (void)
list = gs_plugin_loader_get_updates (loader, NULL, &error);
g_assert_no_error (error);
g_assert (list != NULL);
- g_assert_cmpint (_status_changed_cnt, ==, 1);
+ g_assert_cmpint (_status_changed_cnt, ==, 2);
g_assert_cmpint (g_list_length (list), ==, 2);
app = g_list_nth_data (list, 0);
g_assert_cmpstr (gs_app_get_id (app), ==,
"os-update:gnome-boxes-libs;0.0.1;i386;updates-testing,libvirt-glib-devel;0.0.1;noarch;fedora");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]