OSDN Git Service

unit/avrcp: Add Connection establishment and release tests
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 31 Mar 2014 12:25:03 +0000 (15:25 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 2 Apr 2014 11:25:41 +0000 (14:25 +0300)
Tests are checking connection establishment and release for browsing
channel. Since we are connected through socketpair the tests are dummy.

unit/test-avrcp.c

index 9b3714b..0e4166e 100644 (file)
@@ -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 */
 
        /*