Files
qgroundcontrol/test/Vehicle/ComponentInformation/ComponentInformationTranslationTest.h
T
Don Gagne 9ab9d653a1 Components renamed to ComponentInformation
Better reflects actual code. Also reduces confusing with things like VehicleComponent
2025-02-16 16:24:01 -08:00

32 lines
775 B
C++

/****************************************************************************
*
* (c) 2021 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 <QtCore/QJsonDocument>
#include <QtCore/QByteArray>
class ComponentInformationTranslationTest : public UnitTest
{
Q_OBJECT
public:
ComponentInformationTranslationTest() = default;
virtual ~ComponentInformationTranslationTest() = default;
private slots:
void _basic_test();
private:
void readJson(const QByteArray& bytes, QJsonDocument& jsonDoc);
};