summaryrefslogtreecommitdiff
path: root/src/test/commonapi/tests/TestInterfaceStubDefault.cpp
diff options
context:
space:
mode:
authorStefan Laner <laner@itestra.de>2013-11-11 15:54:39 +0100
committerJohannes Schanda <schanda@itestra.de>2013-11-11 17:19:22 +0100
commitfed37ac724ee21809d2125f910c919658bded8ce (patch)
treeb7b3d8400677346278c178bf2aba26b0f1173cc6 /src/test/commonapi/tests/TestInterfaceStubDefault.cpp
parentd9cb110053436e4c04fdcb067848adefaf36d836 (diff)
downloadgenivi-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/TestInterfaceStubDefault.cpp')
-rw-r--r--src/test/commonapi/tests/TestInterfaceStubDefault.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/commonapi/tests/TestInterfaceStubDefault.cpp b/src/test/commonapi/tests/TestInterfaceStubDefault.cpp
index 93d43bc..5003bd0 100644
--- a/src/test/commonapi/tests/TestInterfaceStubDefault.cpp
+++ b/src/test/commonapi/tests/TestInterfaceStubDefault.cpp
@@ -238,6 +238,14 @@ void TestInterfaceStubDefault::TestStructWithPolymorphicMemberMethod(DerivedType
// No operation in default
}
+void TestInterfaceStubDefault::TestStructWithEnumKeyMapMember(const std::shared_ptr<CommonAPI::ClientId> clientId, DerivedTypeCollection::StructWithEnumKeyMap inStruct) {
+ // Call old style methods in default
+ TestStructWithEnumKeyMapMember(inStruct);
+}
+void TestInterfaceStubDefault::TestStructWithEnumKeyMapMember(DerivedTypeCollection::StructWithEnumKeyMap inStruct) {
+ // No operation in default
+}
+
void TestInterfaceStubDefault::fireTestPredefinedTypeBroadcastEvent(const uint32_t& uint32Value, const std::string& stringValue) {
stubAdapter_->fireTestPredefinedTypeBroadcastEvent(uint32Value, stringValue);