mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2025-07-30 10:07:16 +02:00
Fixed integration tests for libsystemd older than 242
This commit is contained in:
committed by
Stanislav Angelovič
parent
63bbb07ef0
commit
9af20af001
@ -251,17 +251,33 @@ R"delimiter(<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspectio
|
|||||||
<arg type="a{t(a{ya(obva{is})}gs)}" direction="out"/>
|
<arg type="a{t(a{ya(obva{is})}gs)}" direction="out"/>
|
||||||
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
|
<annotation name="org.freedesktop.DBus.Deprecated" value="true"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="getInt">
|
<method name="getInt">)delimiter"
|
||||||
<arg type="i" name="anInt" direction="out"/>
|
#if LIBSYSTEMD_VERSION>=242
|
||||||
|
R"delimiter(
|
||||||
|
<arg type="i" name="anInt" direction="out"/>)delimiter"
|
||||||
|
#else
|
||||||
|
R"delimiter(
|
||||||
|
<arg type="i" direction="out"/>)delimiter"
|
||||||
|
#endif
|
||||||
|
R"delimiter(
|
||||||
</method>
|
</method>
|
||||||
<method name="getInts16FromStruct">
|
<method name="getInts16FromStruct">
|
||||||
<arg type="(yndsan)" direction="in"/>
|
<arg type="(yndsan)" direction="in"/>
|
||||||
<arg type="an" direction="out"/>
|
<arg type="an" direction="out"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="getMapOfVariants">
|
<method name="getMapOfVariants">)delimiter"
|
||||||
|
#if LIBSYSTEMD_VERSION>=242
|
||||||
|
R"delimiter(
|
||||||
<arg type="ai" name="x" direction="in"/>
|
<arg type="ai" name="x" direction="in"/>
|
||||||
<arg type="(vv)" name="y" direction="in"/>
|
<arg type="(vv)" name="y" direction="in"/>
|
||||||
<arg type="a{iv}" name="aMapOfVariants" direction="out"/>
|
<arg type="a{iv}" name="aMapOfVariants" direction="out"/>)delimiter"
|
||||||
|
#else
|
||||||
|
R"delimiter(
|
||||||
|
<arg type="ai" direction="in"/>
|
||||||
|
<arg type="(vv)" direction="in"/>
|
||||||
|
<arg type="a{iv}" direction="out"/>)delimiter"
|
||||||
|
#endif
|
||||||
|
R"delimiter(
|
||||||
</method>
|
</method>
|
||||||
<method name="getObjectPath">
|
<method name="getObjectPath">
|
||||||
<arg type="o" direction="out"/>
|
<arg type="o" direction="out"/>
|
||||||
@ -279,10 +295,19 @@ R"delimiter(<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspectio
|
|||||||
<method name="getUnixFd">
|
<method name="getUnixFd">
|
||||||
<arg type="h" direction="out"/>
|
<arg type="h" direction="out"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="multiply">
|
<method name="multiply">)delimiter"
|
||||||
|
#if LIBSYSTEMD_VERSION>=242
|
||||||
|
R"delimiter(
|
||||||
<arg type="x" name="a" direction="in"/>
|
<arg type="x" name="a" direction="in"/>
|
||||||
<arg type="d" name="b" direction="in"/>
|
<arg type="d" name="b" direction="in"/>
|
||||||
<arg type="d" name="result" direction="out"/>
|
<arg type="d" name="result" direction="out"/>)delimiter"
|
||||||
|
#else
|
||||||
|
R"delimiter(
|
||||||
|
<arg type="x" direction="in"/>
|
||||||
|
<arg type="d" direction="in"/>
|
||||||
|
<arg type="d" direction="out"/>)delimiter"
|
||||||
|
#endif
|
||||||
|
R"delimiter(
|
||||||
</method>
|
</method>
|
||||||
<method name="multiplyWithNoReply">
|
<method name="multiplyWithNoReply">
|
||||||
<arg type="x" direction="in"/>
|
<arg type="x" direction="in"/>
|
||||||
|
Reference in New Issue
Block a user