summaryrefslogtreecommitdiff
path: root/unit/test-hfp.c
diff options
context:
space:
mode:
authorMarcin Kraglak <marcin.kraglak@tieto.com>2014-03-05 20:22:54 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-03-06 10:19:34 +0100
commitf2ef82bbb8eb386c0fc4a47a828d91570d62e735 (patch)
tree75e583e688a140bc8658b8adce4d5df5cf877b5f /unit/test-hfp.c
parent65759704d9b368c8f311c29877ff4277e82386d6 (diff)
downloadbluez-f2ef82bbb8eb386c0fc4a47a828d91570d62e735.tar.gz
unit/test-hfp: Add /hfp/test_register_5
Diffstat (limited to 'unit/test-hfp.c')
-rw-r--r--unit/test-hfp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/unit/test-hfp.c b/unit/test-hfp.c
index 85d3a606f..546a239ec 100644
--- a/unit/test-hfp.c
+++ b/unit/test-hfp.c
@@ -289,6 +289,11 @@ int main(int argc, char *argv[])
'\r'),
type_pdu(HFP_GW_CMD_TYPE_TEST, 0),
data_end());
+ define_test("/hfp/test_register_5", test_register,
+ raw_pdu('D', '\0'),
+ raw_pdu('A', 'T', 'D', '1', '2', '3', '4', '5', '\r'),
+ type_pdu(HFP_GW_CMD_TYPE_SET, 0),
+ data_end());
return g_test_run();
}