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>
This commit is contained in:
Paul Elder
2022-08-02 16:33:42 +09:00
parent eb02e62e6f
commit 44eb16fb18
2 changed files with 5 additions and 0 deletions
@@ -18,6 +18,7 @@ struct TestStruct {
string s2;
int32 i;
string s3;
IPAOperationCode c;
};
interface IPATestInterface {