1. Repeated test name approved. 2. Overal timeout for UART receiving data done. All works

This commit is contained in:
2026-05-18 16:42:15 +03:00
parent 6179eb954a
commit 21e85558ce
6 changed files with 83 additions and 33 deletions

View File

@@ -7,11 +7,25 @@
#include "../core/test_stats.h"
#include <json_processor.h>
struct TestCaseParam
{
QString path;
QString name;
};
struct Stats_t
{
uint16_t total;
uint16_t passed;
uint16_t failed;
};
class UARTFixture :
public ::testing::TestWithParam<QString>
public ::testing::TestWithParam<TestCaseParam>
{
protected:
static UART uart;
static Stats_t stats;
static comSettings_t comPortSettings;
static path_t path;
static QString logFile;