[Pkg-telepathy-commits] [telepathy-mission-control-6] 208/280: dbus-account-plugin: fail tests if fake accounts service misbehaves
Simon McVittie
smcv at debian.org
Thu Mar 27 20:07:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository telepathy-mission-control-6.
commit 1bdae99f8cd780caa7fdf3aa7f72ac7c853ef2a6
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Fri Nov 15 13:38:54 2013 +0000
dbus-account-plugin: fail tests if fake accounts service misbehaves
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
---
tests/twisted/dbus-account-plugin.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/tests/twisted/dbus-account-plugin.c b/tests/twisted/dbus-account-plugin.c
index ea35c14..493df5a 100644
--- a/tests/twisted/dbus-account-plugin.c
+++ b/tests/twisted/dbus-account-plugin.c
@@ -27,6 +27,8 @@
#include <telepathy-glib/telepathy-glib-dbus.h>
#define DEBUG(format, ...) g_debug ("%s: " format, G_STRFUNC, ##__VA_ARGS__)
+#define CRITICAL(format, ...) \
+ g_critical ("%s: " format, G_STRFUNC, ##__VA_ARGS__)
#define TESTDOT "org.freedesktop.Telepathy.Test."
#define TESTSLASH "/org/freedesktop/Telepathy/Test/"
@@ -371,7 +373,7 @@ test_dbus_account_plugin_process_account_deletion (TestDBusAccountPlugin *self,
if (account == NULL)
{
- g_warning ("accounts service deleted %s but we don't "
+ CRITICAL ("accounts service deleted %s but we don't "
"have any record of that account", account_name);
}
else
@@ -409,7 +411,7 @@ test_dbus_account_plugin_process_attributes (TestDBusAccountPlugin *self,
if (account == NULL)
{
- g_warning ("accounts service altered %s but we don't "
+ CRITICAL ("accounts service altered %s but we don't "
"have any record of that account", account_name);
}
else
@@ -516,7 +518,7 @@ test_dbus_account_plugin_process_parameters (TestDBusAccountPlugin *self,
if (account == NULL)
{
- g_warning ("accounts service altered %s but we don't "
+ CRITICAL ("accounts service altered %s but we don't "
"have any record of that account", account_name);
}
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-mission-control-6.git
More information about the Pkg-telepathy-commits
mailing list