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

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Test basic functionality", "[canrawloggerModel]")
 
 TEST_CASE ("painterDelegate", "[canrawloggerModel]")
 
 TEST_CASE ("nPorts", "[canrawloggerModel]")
 
 TEST_CASE ("dataType", "[canrawloggerModel]")
 
 TEST_CASE ("outData", "[canrawloggerModel]")
 
 TEST_CASE ("setInData", "[canrawloggerModel]")
 
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/6]

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

◆ TEST_CASE() [2/6]

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

◆ TEST_CASE() [3/6]

TEST_CASE ( "outData"  ,
""  [canrawloggerModel] 
)

◆ TEST_CASE() [4/6]

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

◆ TEST_CASE() [5/6]

TEST_CASE ( "setInData"  ,
""  [canrawloggerModel] 
)

◆ TEST_CASE() [6/6]

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

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger