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:14:48 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commit1144f669b1739ee8bd4aadd5a10261a976b1ec66 (patch)
tree1509d4be6ddca8643d8f52baa7317814518b3f83 /unit/test-avdtp.c
parentcb5058cf26e4ad6fd857fd480675cd6fcd4b7985 (diff)
downloadbluez-1144f669b1739ee8bd4aadd5a10261a976b1ec66.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-05-C test
Verify that the IUT (INT) is able to detect the rejection by the ACP of 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 782e23d28..bc2882152 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -718,6 +718,11 @@ int main(int argc, char *argv[])
raw_pdu(0xc2, 0x01, 0x04, 0x00),
raw_pdu(0xd0, 0x02, 0x04),
raw_pdu(0xd3, 0x02, 0x11));
+ define_test("/TP/SIG/SMG/BI-05-C", test_server,
+ raw_pdu(0x00, 0x01),
+ raw_pdu(0x02, 0x01, 0x04, 0x00),
+ raw_pdu(0x10, 0x02),
+ raw_pdu(0x13, 0x02, 0x11));
return g_test_run();
}