From: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
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 [thread overview]
Message-ID: <1395134447-8957-10-git-send-email-Andrei.Emeltchenko.news@gmail.com> (raw)
In-Reply-To: <1395134447-8957-1-git-send-email-Andrei.Emeltchenko.news@gmail.com>
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
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
next prev parent reply other threads:[~2014-03-18 9:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-18 9:20 [PATCHv3 00/16] AVRCP code and test cases Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 01/16] android/avrcp: Add avrcp_connect_browsing() Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 02/16] android/avrcp: Add avrcp_set_browsed_player() function Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 03/16] unit/avrcp: Add browsing channel support in unit testing Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 04/16] unit/avrcp: Add /TP/MPS/BV-03-C test Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 05/16] android/avrcp: Use defined constant instead of magic number Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 06/16] android/avrcp: Add avrcp_get_folder_items() function Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 07/16] unit/avrcp: Add /TP/MPS/BV-08-C test Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 08/16] unit/avrcp: Add /TP/MPS/BV-01-I test Andrei Emeltchenko
2014-03-18 9:20 ` Andrei Emeltchenko [this message]
2014-03-18 9:20 ` [PATCHv3 10/16] unit/avrcp: Add /TP/MCN/CB/BV-01-C test Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 11/16] android/avrcp: Add avrcp_change_path() function Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 12/16] unit/avrcp: Add /TP/MCN/CB/BV-04-C test Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 13/16] android/avrcp: Add avrcp_get_item_attributes() function Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 14/16] unit/avrcp: Add /TP/MCN/CB/BV-07-C test Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 15/16] android/avrcp: Add avrcp_search() function Andrei Emeltchenko
2014-03-18 9:20 ` [PATCHv3 16/16] unit/avrcp: Add /TP/MCN/SRC/BV-01-C test Andrei Emeltchenko
2014-03-19 9:13 ` [PATCHv3 00/16] AVRCP code and test cases Andrei Emeltchenko
2014-03-19 11:32 ` Luiz Augusto von Dentz
2014-03-20 9:14 ` Andrei Emeltchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1395134447-8957-10-git-send-email-Andrei.Emeltchenko.news@gmail.com \
--to=andrei.emeltchenko.news@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox