[FSD] In order to get the UNIT tests working, we need to call the "FSD direct message" send function

* added sendDirectMessage and renamed other function to sendQueudedMessage
* UNIT tests call "direct message" sending
* minor style changes
This commit is contained in:
Klaus Basan
2019-11-14 20:26:16 +01:00
committed by Mat Sutcliffe
parent f6f719a67e
commit 3a4f114308
3 changed files with 54 additions and 42 deletions

View File

@@ -348,8 +348,8 @@ namespace BlackFsdTest
QCOMPARE(spy.count(), 1);
QList<QVariant> arguments = spy.takeFirst();
QCOMPARE(arguments.size(), 5);
/*QCOMPARE(arguments.at(0).toString(), "DLH123");
QCOMPARE(arguments.at(1).toString(), "Jon Doe");*/
// QCOMPARE(arguments.at(0).toString(), "DLH123");
// QCOMPARE(arguments.at(1).toString(), "Jon Doe");
}
void CTestFSDClient::testPlaneInformationFsinn()
@@ -360,8 +360,8 @@ namespace BlackFsdTest
QCOMPARE(spy.count(), 1);
QList<QVariant> arguments = spy.takeFirst();
QCOMPARE(arguments.size(), 5);
// QCOMPARE(arguments.at(0).toString(), "DLH123");
// QCOMPARE(arguments.at(1).toString(), "Jon Doe");
// QCOMPARE(arguments.at(0).toString(), "DLH123");
// QCOMPARE(arguments.at(1).toString(), "Jon Doe");
}
void CTestFSDClient::testSendPilotLogin()