CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
canrawsendermodel_test.cpp File Reference
#include <QtWidgets/QApplication>
#include <canrawsendermodel.h>
#include <datamodeltypes/canrawdata.h>
#include <QSignalSpy>
#include <catch.hpp>
#include <fakeit.hpp>
#include <log.h>
Include dependency graph for canrawsendermodel_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 TEST_CASE ("Test basic functionality", "[canrawsender]")
 
 TEST_CASE ("Port information", "[canrawsender]")
 
 TEST_CASE ("Calling sendFrame emits dataUpdated and outData returns that frame", "[canrawsender]")
 
 TEST_CASE ("Test save configuration", "[canrawsender]")
 
 TEST_CASE ("Getters/setters", "[canrawview]")
 
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/5]

TEST_CASE ( "Calling sendFrame emits dataUpdated and outData returns that frame"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [2/5]

TEST_CASE ( "Getters/setters"  ,
""  [canrawview] 
)

◆ TEST_CASE() [3/5]

TEST_CASE ( "Port information"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [4/5]

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

◆ TEST_CASE() [5/5]

TEST_CASE ( "Test save configuration"  ,
""  [canrawsender] 
)

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger