summaryrefslogtreecommitdiff
path: root/src/test/DBusPolymorphicTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/DBusPolymorphicTest.cpp')
-rw-r--r--src/test/DBusPolymorphicTest.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/test/DBusPolymorphicTest.cpp b/src/test/DBusPolymorphicTest.cpp
index bec2ebf..7b2df63 100644
--- a/src/test/DBusPolymorphicTest.cpp
+++ b/src/test/DBusPolymorphicTest.cpp
@@ -74,31 +74,6 @@ public:
}
}
- void TestMapWithPolymorphicStructKeyMethod(const std::shared_ptr<CommonAPI::ClientId> clientId,
- commonapi::tests::DerivedTypeCollection::MapPolymorphicToInt inMap) {
- numberOfContainedElements_ = inMap.size();
-
- auto mapIterator = inMap.begin();
-
- if (mapIterator != inMap.end()) {
- std::shared_ptr<commonapi::tests::DerivedTypeCollection::TestExtendedPolymorphicStruct> extended =
- std::dynamic_pointer_cast<
- commonapi::tests::DerivedTypeCollection::TestExtendedPolymorphicStruct>(
- mapIterator->first);
- firstElementIsExtended_ = (extended != NULL);
- mapIterator++;
- }
-
- if (mapIterator != inMap.end()) {
- std::shared_ptr<commonapi::tests::DerivedTypeCollection::TestExtendedPolymorphicStruct> extended =
- std::dynamic_pointer_cast<
- commonapi::tests::DerivedTypeCollection::TestExtendedPolymorphicStruct>(
- mapIterator->first);
- firstElementIsExtended_ = (extended != NULL);
- }
-
- }
-
void TestStructWithPolymorphicMemberMethod(const std::shared_ptr<CommonAPI::ClientId> clientId,
commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember inStruct) {
if (inStruct.polymorphicMember != NULL) {