Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv2 09/16] unit/avrcp: Add Connection establishment and release tests Date: Fri, 14 Mar 2014 17:17:51 +0200 Message-Id: <1394810278-11013-10-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1394810278-11013-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1394810278-11013-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko 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 3a7e0d1..c5aa32c 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -822,6 +822,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 */ /* -- 1.8.3.2