summaryrefslogtreecommitdiff
path: root/tests/very_long_token.qmi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/very_long_token.qmi')
-rw-r--r--tests/very_long_token.qmi18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/very_long_token.qmi b/tests/very_long_token.qmi
new file mode 100644
index 0000000..abe08f1
--- /dev/null
+++ b/tests/very_long_token.qmi
@@ -0,0 +1,18 @@
+package test_but_this_is_a_super_long_name_because_we_are_testing_parsing_a_token_that_is_bigger_than_the_size_of_the_input_buffer_its_very_very_bad_you_see;
+
+struct qmi_result {
+ u16 result;
+ u16 error;
+};
+
+request test_request {
+ required u8 test_number = 0x12;
+} = 0x23;
+
+response test_response {
+ required qmi_result r = 2;
+} = 043;
+
+indication test_indication {
+ optional u64 value = 0x99;
+} = 0x7;