summaryrefslogtreecommitdiffstats
path: root/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_insert_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_insert_id.h')
-rw-r--r--fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_insert_id.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_insert_id.h b/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_insert_id.h
new file mode 100644
index 00000000..9cdf3f54
--- /dev/null
+++ b/fluent-bit/tests/runtime/data/stackdriver/stackdriver_test_insert_id.h
@@ -0,0 +1,26 @@
+
+#define INSERTID_COMMON_CASE "[" \
+ "1591111124," \
+ "{" \
+ "\"logging.googleapis.com/insertId\": \"test_insertId\" " \
+ "}]"
+
+#define EMPTY_INSERTID "[" \
+ "1591111124," \
+ "{" \
+ "\"logging.googleapis.com/insertId\": \"\" " \
+ "}]"
+
+#define INSERTID_INCORRECT_TYPE_INT "[" \
+ "1591111124," \
+ "{" \
+ "\"logging.googleapis.com/insertId\": 123 " \
+ "}]"
+
+#define INSERTID_INCORRECT_TYPE_MAP "[" \
+ "1591111124," \
+ "{" \
+ "\"logging.googleapis.com/insertId\": " \
+ "{" \
+ "}" \
+ "}]"