mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Unit test renaming
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* \ingroup testblacksimplugin
|
||||
*/
|
||||
|
||||
#include "testfsxp3dcommon.h"
|
||||
#include "testblacksimpluginfsxp3d.h"
|
||||
#include "plugins/simulator/fsxcommon/simconnectdatadefinition.h"
|
||||
#include "plugins/simulator/fsxcommon/simconnectsymbols.h"
|
||||
#include "plugins/simulator/fsxcommon/simulatorfsxcommon.h"
|
||||
@@ -24,7 +24,7 @@ using namespace BlackSimPlugin::FsxCommon;
|
||||
|
||||
namespace BlackSimPluginFsxP3D
|
||||
{
|
||||
void CTestFsxP3DCommon::resolveSymbols()
|
||||
void CSimPluginFsxP3d::resolveSymbols()
|
||||
{
|
||||
QVERIFY2(loadAndResolveSimConnect(false), "Could not load and resolve SimConnect library!");
|
||||
HANDLE hSimConnect;
|
||||
@@ -32,7 +32,7 @@ namespace BlackSimPluginFsxP3D
|
||||
SimConnect_Close(hSimConnect);
|
||||
}
|
||||
|
||||
void CTestFsxP3DCommon::requestIds()
|
||||
void CSimPluginFsxP3d::requestIds()
|
||||
{
|
||||
DWORD objectId = 666;
|
||||
DWORD requestId = CSimulatorFsxCommon::unitTestRequestId(CSimConnectObject::Aircraft);
|
||||
@@ -71,6 +71,6 @@ namespace BlackSimPluginFsxP3D
|
||||
} // ns
|
||||
|
||||
//! main
|
||||
BLACKTEST_APPLESS_MAIN(BlackSimPluginFsxP3D::CTestFsxP3DCommon);
|
||||
BLACKTEST_APPLESS_MAIN(BlackSimPluginFsxP3D::CSimPluginFsxP3d);
|
||||
|
||||
//! \endcond
|
||||
@@ -20,13 +20,13 @@
|
||||
namespace BlackSimPluginFsxP3D
|
||||
{
|
||||
//! FSX/P3D common tests
|
||||
class CTestFsxP3DCommon : public QObject
|
||||
class CSimPluginFsxP3d : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Standard test case constructor
|
||||
explicit CTestFsxP3DCommon(QObject *parent = nullptr) : QObject(parent) {}
|
||||
explicit CSimPluginFsxP3d(QObject *parent = nullptr) : QObject(parent) {}
|
||||
|
||||
private slots:
|
||||
//! Resolve SimConnect Symbols
|
||||
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core testlib dbus network gui widgets
|
||||
|
||||
TARGET = testsimpluginfsxp3d
|
||||
TARGET = testblacksimpluginfsxp3d
|
||||
CONFIG -= app_bundle
|
||||
CONFIG += blackmisc blackcore blackconfig blackgui
|
||||
CONFIG += simulatorfsxcommon simulatorfscommon simulatorplugincommon fsuipc simconnect
|
||||
|
||||
Reference in New Issue
Block a user