Browse Source

Add missing bits to unit test

QGC4.4
Lorenz Meier 11 years ago
parent
commit
c1f0d7071b
  1. 6
      src/qgcunittest/MockUAS.h

6
src/qgcunittest/MockUAS.h

@ -109,6 +109,12 @@ public: @@ -109,6 +109,12 @@ public:
virtual bool systemCanReverse() const { Q_ASSERT(false); return false; };
virtual QString getSystemTypeName() { Q_ASSERT(false); return _bogusString; };
virtual int getAutopilotType() { Q_ASSERT(false); return 0; };
virtual QGCUASFileManager* getFileManager() {Q_ASSERT(false); return NULL; }
/** @brief Send a message over this link (to this or to all UAS on this link) */
virtual void sendMessage(LinkInterface* link, mavlink_message_t message){Q_ASSERT(false);}
/** @brief Send a message over all links this UAS can be reached with (!= all links) */
virtual void sendMessage(mavlink_message_t message) {Q_ASSERT(false);}
virtual QString getAutopilotTypeName() { Q_ASSERT(false); return _bogusString; };
virtual void setAutopilotType(int apType) { Q_UNUSED(apType); Q_ASSERT(false); };
virtual QMap<int, QString> getComponents() { Q_ASSERT(false); return _bogusMapIntQString; };

Loading…
Cancel
Save