summaryrefslogtreecommitdiff
path: root/src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp')
-rw-r--r--src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp b/src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp
index 40cb19e..de5e112 100644
--- a/src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp
+++ b/src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp
@@ -1,6 +1,6 @@
/*
* This file was generated by the CommonAPI Generators.
-* Used org.genivi.commonapi.core 2.1.3.qualifier.
+* Used org.genivi.commonapi.core 2.1.4.qualifier.
* Used org.franca.core 0.8.10.201309262002.
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
@@ -55,6 +55,9 @@ void TestInterfaceDBusStubAdapter::deactivateManagedInstances() {
const char* TestInterfaceDBusStubAdapter::getMethodsDBusIntrospectionXmlData() const {
static const char* introspectionData =
+ "<method name=\"getInterfaceVersion\">\n"
+ "<arg name=\"value\" type=\"uu\" direction=\"out\" />"
+ "</method>\n"
"<method name=\"getTestPredefinedTypeAttributeAttribute\">\n"
"<arg name=\"value\" type=\"u\" direction=\"out\" />"
"</method>\n"
@@ -123,9 +126,6 @@ const char* TestInterfaceDBusStubAdapter::getMethodsDBusIntrospectionXmlData() c
"<method name=\"TestMapOfPolymorphicStructMethod\">\n"
"<arg name=\"inMap\" type=\"a{y(uv)}\" direction=\"in\" />\n"
"</method>\n"
- "<method name=\"TestMapWithPolymorphicStructKeyMethod\">\n"
- "<arg name=\"inMap\" type=\"a{(uv)y}\" direction=\"in\" />\n"
- "</method>\n"
"<method name=\"TestStructWithPolymorphicMemberMethod\">\n"
"<arg name=\"inStruct\" type=\"(u(uv))\" direction=\"in\" />\n"
"</method>\n"
@@ -137,6 +137,10 @@ const char* TestInterfaceDBusStubAdapter::getMethodsDBusIntrospectionXmlData() c
return introspectionData;
}
+ static CommonAPI::DBus::DBusGetAttributeStubDispatcher<
+ TestInterfaceStub,
+ CommonAPI::Version
+ > getInterfaceVersionStubDispatcher(&TestInterfaceStub::getInterfaceVersion, "uu");
static CommonAPI::DBus::DBusGetAttributeStubDispatcher<
TestInterfaceStub,
@@ -218,11 +222,6 @@ static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
> testMapOfPolymorphicStructMethodStubDispatcher(&TestInterfaceStub::TestMapOfPolymorphicStructMethod, "");
static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
TestInterfaceStub,
- std::tuple<DerivedTypeCollection::MapPolymorphicToInt>,
- std::tuple<>
- > testMapWithPolymorphicStructKeyMethodStubDispatcher(&TestInterfaceStub::TestMapWithPolymorphicStructKeyMethod, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- TestInterfaceStub,
std::tuple<DerivedTypeCollection::StructWithPolymorphicMember>,
std::tuple<>
> testStructWithPolymorphicMemberMethodStubDispatcher(&TestInterfaceStub::TestStructWithPolymorphicMemberMethod, "");
@@ -407,6 +406,7 @@ std::shared_ptr<CommonAPI::ClientIdList> const TestInterfaceDBusStubAdapter::get
const TestInterfaceDBusStubAdapter::StubDispatcherTable& TestInterfaceDBusStubAdapter::getStubDispatcherTable() {
static const TestInterfaceDBusStubAdapter::StubDispatcherTable stubDispatcherTable = {
+ { { "getInterfaceVersion", "" }, &commonapi::tests::getInterfaceVersionStubDispatcher },
{ { "getTestPredefinedTypeAttributeAttribute", "" }, &commonapi::tests::getTestPredefinedTypeAttributeAttributeStubDispatcher }
, { { "setTestPredefinedTypeAttributeAttribute", "u" }, &commonapi::tests::setTestPredefinedTypeAttributeAttributeStubDispatcher },
{ { "getTestDerivedStructAttributeAttribute", "" }, &commonapi::tests::getTestDerivedStructAttributeAttributeStubDispatcher }
@@ -421,7 +421,6 @@ const TestInterfaceDBusStubAdapter::StubDispatcherTable& TestInterfaceDBusStubAd
{ { "testDerivedTypeMethod", "ia{ua(sq)}" }, &commonapi::tests::testDerivedTypeMethodStubDispatcher },
{ { "TestArrayOfPolymorphicStructMethod", "a(uv)" }, &commonapi::tests::testArrayOfPolymorphicStructMethodStubDispatcher },
{ { "TestMapOfPolymorphicStructMethod", "a{y(uv)}" }, &commonapi::tests::testMapOfPolymorphicStructMethodStubDispatcher },
- { { "TestMapWithPolymorphicStructKeyMethod", "a{(uv)y}" }, &commonapi::tests::testMapWithPolymorphicStructKeyMethodStubDispatcher },
{ { "TestStructWithPolymorphicMemberMethod", "(u(uv))" }, &commonapi::tests::testStructWithPolymorphicMemberMethodStubDispatcher },
{ { "TestStructWithEnumKeyMapMember", "(a{is})" }, &commonapi::tests::testStructWithEnumKeyMapMemberStubDispatcher }
,