From 60a701c9180a9270335aef6d6fe0b7e1b714ead0 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 22 Apr 2014 16:32:50 +0300 Subject: [PATCH] unit/test-avrcp: Add /TP/MCN/CB/BI-01-C test To verify the GetFolderItems response issued by the TG when the command contains invalid parameters. --- unit/test-avrcp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index d82ccd9ff..44d833a6c 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -764,6 +764,16 @@ int main(int argc, char *argv[]) 0xaa, 0xbb, /* counter */ 0x00)); /* num attr */ + /* GetFolderItems - Virtual FS - TG */ + define_test("/TP/MCN/CB/BI-01-C", test_server, + brs_pdu(0x00, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS, + 0x00, 0x0a, AVRCP_MEDIA_PLAYER_VFS, + 0x00, 0x00, 0x00, 0x01, /* start */ + 0x00, 0x00, 0x00, 0x00, /* end */ + 0x00), + brs_pdu(0x02, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS, + 0x00, 0x01, 0x0b)); + /* Media Content Navigation Commands and Notifications for Search */ /* Search - CT */ -- 2.47.3