summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-01-28 13:44:49 +0100
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-07-31 16:08:54 +0200
commit077745926547f0b7f6859072ffa0d45f11692cfe (patch)
treef8d897f78f03d1a6dd14791e046ef43a31d46a41 /tests
parent53239894e9e1b033744d9404b1e50f402b935449 (diff)
downloadfarstream-077745926547f0b7f6859072ffa0d45f11692cfe.tar.gz
debug-msg is gone, remove from tests
Diffstat (limited to 'tests')
-rw-r--r--tests/check/raw/conference.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/check/raw/conference.c b/tests/check/raw/conference.c
index 69a80b78..9ed91312 100644
--- a/tests/check/raw/conference.c
+++ b/tests/check/raw/conference.c
@@ -484,7 +484,7 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
{
const GValue *value;
FsError errorno;
- const gchar *error, *debug;
+ const gchar *error;
ts_fail_unless (
FS_IS_CONFERENCE (GST_MESSAGE_SRC (message)),
@@ -498,17 +498,13 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data)
"farstream-error structure has no src-object field");
ts_fail_unless (
gst_structure_has_field_typed (s, "error-msg", G_TYPE_STRING),
- "farstream-error structure has no src-object field");
- ts_fail_unless (
- gst_structure_has_field_typed (s, "debug-msg", G_TYPE_STRING),
- "farstream-error structure has no src-object field");
+ "farstream-error structure has no error-msg field");
value = gst_structure_get_value (s, "error-no");
errorno = g_value_get_enum (value);
error = gst_structure_get_string (s, "error-msg");
- debug = gst_structure_get_string (s, "debug-msg");
- ts_fail ("Error on BUS (%d) %s .. %s", errorno, error, debug);
+ ts_fail ("Error on BUS (%d) %s", errorno, error);
}
else if (gst_structure_has_name (s, "farstream-new-local-candidate"))
{