From 34fd1b4e76324075ce3dbd9d4780c197d4accb2b Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Mon, 31 Mar 2014 15:25:03 +0300 Subject: [PATCH] unit/avrcp: Add Connection establishment and release tests Tests are checking connection establishment and release for browsing channel. Since we are connected through socketpair the tests are dummy. --- unit/test-avrcp.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index 9b3714bcc..0e4166e4b 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -680,6 +680,19 @@ int main(int argc, char *argv[]) 0x00, 0x00, 0x00, 0x02, /* end */ 0x00)); + /* Connection Establishment for Browsing tests */ + + /* + * Tests are checking connection establishment and release + * for browsing channel. Since we are connected through socketpair + * the tests are dummy + */ + define_test("/TP/CON/BV-01-C", test_dummy, raw_pdu(0x00)); + define_test("/TP/CON/BV-02-C", test_dummy, raw_pdu(0x00)); + define_test("/TP/CON/BV-03-C", test_dummy, raw_pdu(0x00)); + define_test("/TP/CON/BV-04-C", test_dummy, raw_pdu(0x00)); + define_test("/TP/CON/BV-05-C", test_dummy, raw_pdu(0x00)); + /* Connection Establishment for Control tests */ /* -- 2.47.3