From 14b40ec77a4bf8605789cc3aff0eb87625510a41 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Jul 2024 11:40:12 +0200 Subject: Adding upstream version 1.2+20240521. Signed-off-by: Daniel Baumann --- tests/inputs/recursivemessage/recursivemessage.json | 12 ++++++++++++ tests/inputs/recursivemessage/recursivemessage.proto | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 tests/inputs/recursivemessage/recursivemessage.json create mode 100644 tests/inputs/recursivemessage/recursivemessage.proto (limited to 'tests/inputs/recursivemessage') diff --git a/tests/inputs/recursivemessage/recursivemessage.json b/tests/inputs/recursivemessage/recursivemessage.json new file mode 100644 index 0000000..e92c3fb --- /dev/null +++ b/tests/inputs/recursivemessage/recursivemessage.json @@ -0,0 +1,12 @@ +{ + "name": "Zues", + "child": { + "name": "Hercules" + }, + "intermediate": { + "child": { + "name": "Douglas Adams" + }, + "number": 42 + } +} diff --git a/tests/inputs/recursivemessage/recursivemessage.proto b/tests/inputs/recursivemessage/recursivemessage.proto new file mode 100644 index 0000000..1da2b57 --- /dev/null +++ b/tests/inputs/recursivemessage/recursivemessage.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + +package recursivemessage; + +message Test { + string name = 1; + Test child = 2; + Intermediate intermediate = 3; +} + + +message Intermediate { + int32 number = 1; + Test child = 2; +} -- cgit v1.2.3