diff options
author | Stefan Laner <laner@itestra.de> | 2013-11-11 19:55:26 +0100 |
---|---|---|
committer | Stefan Laner <laner@itestra.de> | 2013-11-11 19:55:26 +0100 |
commit | 1ba1a4cdac9b6821d285cb685da65fdbc68a5c66 (patch) | |
tree | 6b6419f6076b57d6ef390e17888899d733147446 /src/test/DBusPolymorphicTest.cpp | |
parent | 71d4ddf336fd7b9eb9446c56a5ea4650d34aabdb (diff) | |
download | genivi-common-api-dbus-runtime-1ba1a4cdac9b6821d285cb685da65fdbc68a5c66.tar.gz |
removed test which does not compile because code generator does not2.1.4
allow to define that anymore.
Diffstat (limited to 'src/test/DBusPolymorphicTest.cpp')
-rw-r--r-- | src/test/DBusPolymorphicTest.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
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<std::shared_ptr<commonapi::tests::DerivedTypeCollection::TestPolymorphicStruct>, 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; |