CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
qmlexecutormodel_test.cpp File Reference
#include <QCanBusFrame>
#include <QJsonArray>
#include <QStandardItemModel>
#include <QTableView>
#include <Qt>
#include <QtWidgets/QApplication>
#include <catch.hpp>
#include <context.h>
#include <fakeit.hpp>
#include "qmlexecutormodel.h"
#include "qmlexecutor.h"
#include "gui/qmlexecutorguiint.h"
Include dependency graph for qmlexecutormodel_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Test basic functionality", "[qmlexecutorModel]")
 
 TEST_CASE ("painterDelegate", "[qmlexecutorModel]")
 
 TEST_CASE ("nPorts", "[qmlexecutorModel]")
 
 TEST_CASE ("dataType", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_nodata_raw", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_nodata_signal", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_frame_simple", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_signal_simple", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_nodata_corrupt", "[qmlexecutorModel]")
 
 TEST_CASE ("setInData_corrupt_frame", "[qmlexecutorModel]")
 
 TEST_CASE ("setInData_corrupt_signal", "[qmlexecutorModel]")
 
 TEST_CASE ("setInData_corrupt_port", "[qmlexecutorModel]")
 
 TEST_CASE ("setInData_frame", "[qmlexecutorModel]")
 
 TEST_CASE ("setInData_signal", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_frame", "[qmlexecutorModel]")
 
 TEST_CASE ("outData_signal", "[qmlexecutorModel]")
 
int main (int argc, char *argv[])
 

Variables

std::shared_ptr< spdlog::logger > kDefaultLogger
 

Macro Definition Documentation

◆ CATCH_CONFIG_RUNNER

#define CATCH_CONFIG_RUNNER

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ Q_DECLARE_METATYPE()

Q_DECLARE_METATYPE ( QCanBusFrame  )

◆ TEST_CASE() [1/16]

TEST_CASE ( "dataType"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [2/16]

TEST_CASE ( "nPorts"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [3/16]

TEST_CASE ( "outData_frame"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [4/16]

TEST_CASE ( "outData_frame_simple"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [5/16]

TEST_CASE ( "outData_nodata_corrupt"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [6/16]

TEST_CASE ( "outData_nodata_raw"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [7/16]

TEST_CASE ( "outData_nodata_signal"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [8/16]

TEST_CASE ( "outData_signal"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [9/16]

TEST_CASE ( "outData_signal_simple"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [10/16]

TEST_CASE ( "painterDelegate"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [11/16]

TEST_CASE ( "setInData_corrupt_frame"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [12/16]

TEST_CASE ( "setInData_corrupt_port"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [13/16]

TEST_CASE ( "setInData_corrupt_signal"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [14/16]

TEST_CASE ( "setInData_frame"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [15/16]

TEST_CASE ( "setInData_signal"  ,
""  [qmlexecutorModel] 
)

◆ TEST_CASE() [16/16]

TEST_CASE ( "Test basic functionality"  ,
""  [qmlexecutorModel] 
)

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger