mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[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:
committed by
Mat Sutcliffe
parent
f6f719a67e
commit
3a4f114308
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user