CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
qmlexecutor_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 <QSignalSpy>
#include "gui/qmlexecutorguiint.h"
#include "qmlexecutor.h"
#include "qmlexecutormodel.h"
#include "guimock.h"
Include dependency graph for qmlexecutor_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 TEST_CASE ("Stubbed methods", "[qmlexecutor]")
 
 TEST_CASE ("setConfig - qobj/getconfig", "[qmlexecutor]")
 
 TEST_CASE ("setConfig - json/getconfig", "[qmlexecutor]")
 
 TEST_CASE ("configChanged", "[qmlexecutor]")
 
 TEST_CASE ("qml changed from ui", "[qmlexecutor]")
 
 TEST_CASE ("simBcastRcv", "[qmlexecutor]")
 
 TEST_CASE ("getSupportedProperties", "[qmlexecutor]")
 
 TEST_CASE ("start/stop", "[qmlexecutor]")
 
 TEST_CASE ("getQConfig", "[qmlexecutor]")
 
 TEST_CASE ("dock/undock", "[qmlexecutor]")
 
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[] 
)

◆ TEST_CASE() [1/10]

TEST_CASE ( "configChanged"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [2/10]

TEST_CASE ( "dock/undock"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [3/10]

TEST_CASE ( "getQConfig"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [4/10]

TEST_CASE ( "getSupportedProperties"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [5/10]

TEST_CASE ( "qml changed from ui"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [6/10]

TEST_CASE ( "setConfig - json/getconfig"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [7/10]

TEST_CASE ( "setConfig - qobj/getconfig"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [8/10]

TEST_CASE ( "simBcastRcv"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [9/10]

TEST_CASE ( "start/stop"  ,
""  [qmlexecutor] 
)

◆ TEST_CASE() [10/10]

TEST_CASE ( "Stubbed methods"  ,
""  [qmlexecutor] 
)

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger