summaryrefslogtreecommitdiff
path: root/unit/test-avctp.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-01-29 14:41:14 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-29 09:18:23 -0800
commit5d7011737f0ae2ae842495e507d3b9bcb2a7d42c (patch)
tree3716b985572f536c6f49281ed0e9824bbcf0a558 /unit/test-avctp.c
parentcbe04032df2b78d223c4cc155544275d4d536374 (diff)
downloadbluez-5d7011737f0ae2ae842495e507d3b9bcb2a7d42c.tar.gz
unit/avctp: Add TP/NFR/BI-01-C test
To verify that the IUT (TG) reports to the test system (CT) the reception of a control message intended for an invalid PID (PID not registered for reception of messages).
Diffstat (limited to 'unit/test-avctp.c')
-rw-r--r--unit/test-avctp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/unit/test-avctp.c b/unit/test-avctp.c
index 8c97a820f..041e0c096 100644
--- a/unit/test-avctp.c
+++ b/unit/test-avctp.c
@@ -267,5 +267,9 @@ int main(int argc, char *argv[])
raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x00, 0x00),
raw_pdu(0x02, 0x11, 0x0e, 0x0a, 0x00, 0x00));
+ define_test("/TP/NFR/BI-01-C", test_server,
+ raw_pdu(0x00, 0xff, 0xff, 0x00, 0x00, 0x00),
+ raw_pdu(0x03, 0xff, 0xff));
+
return g_test_run();
}