From 1ba1a4cdac9b6821d285cb685da65fdbc68a5c66 Mon Sep 17 00:00:00 2001 From: Stefan Laner Date: Mon, 11 Nov 2013 19:55:26 +0100 Subject: removed test which does not compile because code generator does not allow to define that anymore. --- src/test/DBusPolymorphicTest.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/test/DBusPolymorphicTest.cpp') diff --git a/src/test/DBusPolymorphicTest.cpp b/src/test/DBusPolymorphicTest.cpp index 65930cb..bec2ebf 100644 --- a/src/test/DBusPolymorphicTest.cpp +++ b/src/test/DBusPolymorphicTest.cpp @@ -253,21 +253,6 @@ TEST_F(PolymorphicTest, SendMapOfBaseAndExtendedType) { ASSERT_TRUE(testStub->secondElementIsExtended_); } -// disabled as it leads to a crash in libdbus which does not allow container types as map keys in its signature validation -TEST_F(PolymorphicTest, DISABLED_SendMapOfBaseAndExtendedTypeAsKey) { - CommonAPI::CallStatus stat; - std::unordered_map, uint8_t> inputMap; - inputMap.insert( {baseInstance1_, 5}); - inputMap.insert( {extendedInstance1_, 10}); - - proxy_->TestMapWithPolymorphicStructKeyMethod(inputMap, stat); - - ASSERT_EQ(stat, CommonAPI::CallStatus::SUCCESS); - ASSERT_EQ(testStub->numberOfContainedElements_, 2); - ASSERT_FALSE(testStub->firstElementIsExtended_); - ASSERT_TRUE(testStub->secondElementIsExtended_); -} - TEST_F(PolymorphicTest, SendStructWithPolymorphicMember) { CommonAPI::CallStatus stat; commonapi::tests::DerivedTypeCollection::StructWithPolymorphicMember inputStruct; -- cgit v1.2.1