Improved samples and debugging information

* DBus test for CSimulatedAircraft
* Output of metatypes in GUI/core
* Changed output from qDebug() to QTextStream
* Variant test for CSimulatedAircraft
This commit is contained in:
Klaus Basan
2015-01-25 03:49:32 +01:00
parent deba08eef0
commit ca07e68c34
14 changed files with 95 additions and 24 deletions

View File

@@ -246,7 +246,7 @@ namespace BlackMiscTest
}
/*
* Ping aircrafts
* Ping aircraft
*/
CAircraftList Testservice::pingAircraftList(const CAircraftList &aircraftList)
{
@@ -326,6 +326,15 @@ namespace BlackMiscTest
return aircraft;
}
/*
* Ping simulated aircraft
*/
Simulation::CSimulatedAircraft Testservice::pingSimulatedAircraft(const Simulation::CSimulatedAircraft &aircraft)
{
qDebug() << "Pid:" << ServiceTool::getPid() << "ping simulated aircraft:" << aircraft;
return aircraft;
}
/*
* Ping variant
*/