diff options
author | Stefan Laner <laner@itestra.de> | 2013-11-11 15:54:39 +0100 |
---|---|---|
committer | Johannes Schanda <schanda@itestra.de> | 2013-11-11 17:19:22 +0100 |
commit | fed37ac724ee21809d2125f910c919658bded8ce (patch) | |
tree | b7b3d8400677346278c178bf2aba26b0f1173cc6 /src/test/commonapi/tests/TestInterfaceProxyBase.h | |
parent | d9cb110053436e4c04fdcb067848adefaf36d836 (diff) | |
download | genivi-common-api-dbus-runtime-fed37ac724ee21809d2125f910c919658bded8ce.tar.gz |
added test for two managers for the same interface
extended test for sending structs that have a map with enum key as
member
Change-Id: Ib245bf1a9132c1494513d4e8eee512a2eca68449
Diffstat (limited to 'src/test/commonapi/tests/TestInterfaceProxyBase.h')
-rw-r--r-- | src/test/commonapi/tests/TestInterfaceProxyBase.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/commonapi/tests/TestInterfaceProxyBase.h b/src/test/commonapi/tests/TestInterfaceProxyBase.h index 3be09cb..ff2dd5d 100644 --- a/src/test/commonapi/tests/TestInterfaceProxyBase.h +++ b/src/test/commonapi/tests/TestInterfaceProxyBase.h @@ -57,6 +57,7 @@ class TestInterfaceProxyBase: virtual public CommonAPI::Proxy { typedef std::function<void(const CommonAPI::CallStatus&)> TestMapOfPolymorphicStructMethodAsyncCallback; typedef std::function<void(const CommonAPI::CallStatus&)> TestMapWithPolymorphicStructKeyMethodAsyncCallback; typedef std::function<void(const CommonAPI::CallStatus&)> TestStructWithPolymorphicMemberMethodAsyncCallback; + typedef std::function<void(const CommonAPI::CallStatus&)> TestStructWithEnumKeyMapMemberAsyncCallback; virtual TestPredefinedTypeAttributeAttribute& getTestPredefinedTypeAttributeAttribute() = 0; virtual TestDerivedStructAttributeAttribute& getTestDerivedStructAttributeAttribute() = 0; @@ -84,6 +85,8 @@ class TestInterfaceProxyBase: virtual public CommonAPI::Proxy { virtual std::future<CommonAPI::CallStatus> TestMapWithPolymorphicStructKeyMethodAsync(const DerivedTypeCollection::MapPolymorphicToInt& inMap, TestMapWithPolymorphicStructKeyMethodAsyncCallback callback) = 0; virtual void TestStructWithPolymorphicMemberMethod(const DerivedTypeCollection::StructWithPolymorphicMember& inStruct, CommonAPI::CallStatus& callStatus) = 0; virtual std::future<CommonAPI::CallStatus> TestStructWithPolymorphicMemberMethodAsync(const DerivedTypeCollection::StructWithPolymorphicMember& inStruct, TestStructWithPolymorphicMemberMethodAsyncCallback callback) = 0; + virtual void TestStructWithEnumKeyMapMember(const DerivedTypeCollection::StructWithEnumKeyMap& inStruct, CommonAPI::CallStatus& callStatus) = 0; + virtual std::future<CommonAPI::CallStatus> TestStructWithEnumKeyMapMemberAsync(const DerivedTypeCollection::StructWithEnumKeyMap& inStruct, TestStructWithEnumKeyMapMemberAsyncCallback callback) = 0; }; } // namespace tests |