summaryrefslogtreecommitdiff
path: root/test/serialization/generated_serializer/include
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2022-08-02 16:33:42 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2022-10-18 18:51:17 +0900
commit44eb16fb189647cdad3d5da9fb862205ee74dc9f (patch)
tree1a6b00dfb2283a415890d6043281e1ca3da3c142 /test/serialization/generated_serializer/include
parenteb02e62e6f4bff332dcdee504171596563e7b85f (diff)
test: generated_serializer: Test enum that is struct member
Add an enum field to the test struct member to test serialization/deserialization of enums that are struct members. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/serialization/generated_serializer/include')
-rw-r--r--test/serialization/generated_serializer/include/libcamera/ipa/test.mojom1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/serialization/generated_serializer/include/libcamera/ipa/test.mojom b/test/serialization/generated_serializer/include/libcamera/ipa/test.mojom
index 5f200885..73081b40 100644
--- a/test/serialization/generated_serializer/include/libcamera/ipa/test.mojom
+++ b/test/serialization/generated_serializer/include/libcamera/ipa/test.mojom
@@ -18,6 +18,7 @@ struct TestStruct {
string s2;
int32 i;
string s3;
+ IPAOperationCode c;
};
interface IPATestInterface {