9ab9d653a1
Better reflects actual code. Also reduces confusing with things like VehicleComponent
32 lines
775 B
C++
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);
|
|
};
|
|
|