Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv3 09/16] unit/avrcp: Add Connection establishment and release tests Date: Tue, 18 Mar 2014 11:20:40 +0200 Message-Id: <1395134447-8957-10-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1395134447-8957-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1395134447-8957-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 46c10a3..602e4bb 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -675,6 +675,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