/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/#pragma once#include "UnitTest.h"#include "Vehicle.h"classSendMavCommandWithSignallingTest:publicUnitTest{Q_OBJECTprivateslots:void_performTestCases(void);void_duplicateCommand(void);private:typedefstruct{MAV_CMDcommand;MAV_RESULTexpectedCommandResult;Vehicle::MavCmdResultFailureCode_texpectedFailureCode;intexpectedSendCount;}TestCase_t;void_testCaseWorker(TestCase_t&testCase);staticTestCase_t_rgTestCases[];};