summaryrefslogtreecommitdiff
path: root/unit/test-avdtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'unit/test-avdtp.c')
-rw-r--r--unit/test-avdtp.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index dd8aed73c..176852ae7 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -99,13 +99,6 @@ struct context {
const struct test_data *data;
};
-static void test_debug(const char *str, void *user_data)
-{
- const char *prefix = user_data;
-
- tester_debug("%s%s", prefix, str);
-}
-
static void test_free(gconstpointer user_data)
{
const struct test_data *data = user_data;
@@ -158,7 +151,7 @@ static gboolean send_pdu(gpointer user_data)
len = write(context->fd, pdu->data, pdu->size);
- util_hexdump('<', pdu->data, len, test_debug, "AVDTP: ");
+ tester_monitor('<', 0x0000, 0x0019, pdu->data, len);
g_assert_cmpint(len, ==, pdu->size);
@@ -215,7 +208,7 @@ static gboolean test_handler(GIOChannel *channel, GIOCondition cond,
g_assert(len > 0);
- util_hexdump('>', buf, len, test_debug, "AVDTP: ");
+ tester_monitor('>', 0x0000, 0x0019, buf, len);
g_assert_cmpint(len, ==, pdu->size);