From d8299ff809fe84669c5730985f8e6685e7b9032f Mon Sep 17 00:00:00 2001 From: Timur Iskhakov Date: Wed, 13 Sep 2017 17:35:10 -0700 Subject: [PATCH] Print full name test Bug: 65563308 Test: hidl_test Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895 --- tests/foo/1.0/IFoo.hal | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/foo/1.0/IFoo.hal b/tests/foo/1.0/IFoo.hal index 00337a60e1..c1ce7b093e 100644 --- a/tests/foo/1.0/IFoo.hal +++ b/tests/foo/1.0/IFoo.hal @@ -126,6 +126,24 @@ interface IFoo { typedef multidimArrayOne[8][9][10] multidimArrayTwo; typedef multidimArrayTwo[2][3][4] multidimArrayThree; + struct InnerTestStruct {}; + typedef InnerTestStruct InnerTestStructTypedef; + struct S1 { + struct InnerTestStruct {}; + InnerTestStructTypedef foo; + }; + + enum InnerTestEnum : int32_t { + VALUE = 0 + }; + typedef InnerTestEnum InnerTestEnumTypedef; + struct S2 { + enum InnerTestEnum : int32_t { + VALUE = 1 + }; + InnerTestEnumTypedef foo; + }; + doThis(float param); doThatAndReturnSomething(int64_t param) generates (int32_t result); doQuiteABit(int32_t a, int64_t b, float c, double d) generates (double something);