mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-06 17:53:23 +08:00
refs #314, fixed DBus crash because of wrong list type
discussion here: https://dev.vatsim-germany.org/boards/22/topics/2006?r=2015#message-2015 * Fixed CIndexVariantMap * In the same step added more tests in the DBus sample
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "testservice.h"
|
||||
#include "blackmisc/blackmiscfreefunctions.h"
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackMisc::Geo;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
@@ -243,7 +244,7 @@ namespace BlackMiscTest
|
||||
*/
|
||||
CAircraftList Testservice::pingAircraftList(const CAircraftList &aircraftList)
|
||||
{
|
||||
qDebug() << "Pid:" << ServiceTool::getPid() << "ping ATCs:" << aircraftList;
|
||||
qDebug() << "Pid:" << ServiceTool::getPid() << "ping aircrafts:" << aircraftList;
|
||||
return aircraftList;
|
||||
}
|
||||
|
||||
@@ -256,6 +257,24 @@ namespace BlackMiscTest
|
||||
return airportList;
|
||||
}
|
||||
|
||||
/*
|
||||
* Ping property index
|
||||
*/
|
||||
CPropertyIndex Testservice::pingPropertyIndex(const CPropertyIndex &properties)
|
||||
{
|
||||
qDebug() << "Pid:" << ServiceTool::getPid() << "ping properties:" << properties;
|
||||
return properties;
|
||||
}
|
||||
|
||||
/*
|
||||
* Ping index variant map
|
||||
*/
|
||||
CIndexVariantMap Testservice::pingIndexVariantMap(const CIndexVariantMap &indexVariantMap)
|
||||
{
|
||||
qDebug() << "Pid:" << ServiceTool::getPid() << "ping properties:" << indexVariantMap;
|
||||
return indexVariantMap;
|
||||
}
|
||||
|
||||
/*
|
||||
* NW client
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user