summaryrefslogtreecommitdiff
path: root/unit/test-avdtp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-11-28 16:36:25 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commit104ca9ecd5f2ec918d64b6c68f52851b0aa82339 (patch)
treee6aff338ffef543b312eac2c39ddf7b535bc841e /unit/test-avdtp.c
parent1144f669b1739ee8bd4aadd5a10261a976b1ec66 (diff)
downloadbluez-104ca9ecd5f2ec918d64b6c68f52851b0aa82339.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-06-C test
Verify that the IUT (ACP) is able to issue a reject response signal upon tester's request in answer to a get capabilities command.
Diffstat (limited to 'unit/test-avdtp.c')
-rw-r--r--unit/test-avdtp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index bc2882152..214a98f27 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -723,6 +723,11 @@ int main(int argc, char *argv[])
raw_pdu(0x02, 0x01, 0x04, 0x00),
raw_pdu(0x10, 0x02),
raw_pdu(0x13, 0x02, 0x11));
+ define_test("/TP/SIG/SMG/BI-06-C", test_server,
+ raw_pdu(0x00, 0x01),
+ raw_pdu(0x02, 0x01, 0x04, 0x00),
+ raw_pdu(0x10, 0x02, 0x00),
+ raw_pdu(0x13, 0x02, 0x12));
return g_test_run();
}