mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T709, sync Qt free timestamp after parsing with swift version
This commit is contained in:
committed by
Mat Sutcliffe
parent
04e57df5f7
commit
34aa8333cc
@@ -107,6 +107,8 @@ namespace BlackMiscTest
|
||||
s.setMaxPlanes(33);
|
||||
s.setMaxDrawDistanceNM(11.11);
|
||||
s.setDrawingLabels(false);
|
||||
s.setFollowAircraftDistanceM(123);
|
||||
s.setCurrentUtcTime();
|
||||
QString json = s.toXSwiftBusJsonStringQt();
|
||||
|
||||
qDebug() << json;
|
||||
@@ -117,6 +119,8 @@ namespace BlackMiscTest
|
||||
QCOMPARE(s.getMaxPlanes(), s2.getMaxPlanes());
|
||||
QCOMPARE(s.isDrawingLabels(), s2.isDrawingLabels());
|
||||
QCOMPARE(s.getDBusServerAddressQt(), s2.getDBusServerAddressQt());
|
||||
QCOMPARE(s.getFollowAircraftDistanceM(), s2.getFollowAircraftDistanceM());
|
||||
QCOMPARE(s.getMSecsSinceEpoch(), s2.getMSecsSinceEpoch());
|
||||
|
||||
s.setDBusServerAddressQt(CDBusServer::sessionBusAddress());
|
||||
json = s.toXSwiftBusJsonStringQt();
|
||||
|
||||
Reference in New Issue
Block a user