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

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Stubbed methods", "[canrawplayer]")
 
 TEST_CASE ("setConfig - qobj", "[canrawplayer]")
 
 TEST_CASE ("setConfig - json", "[canrawplayer]")
 
 TEST_CASE ("getConfig", "[canrawplayer]")
 
 TEST_CASE ("getQConfig", "[canrawplayer]")
 
 TEST_CASE ("configChanged", "[canrawplayer]")
 
 TEST_CASE ("getSupportedProperties", "[canrawplayer]")
 
 TEST_CASE ("Send test", "[canrawplayer]")
 
 TEST_CASE ("Send test 2", "[canrawplayer]")
 
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/9]

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

◆ TEST_CASE() [2/9]

TEST_CASE ( "getConfig"  ,
""  [canrawplayer] 
)

◆ TEST_CASE() [3/9]

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

◆ TEST_CASE() [4/9]

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

◆ TEST_CASE() [5/9]

TEST_CASE ( "Send test 2"  ,
""  [canrawplayer] 
)

◆ TEST_CASE() [6/9]

TEST_CASE ( "Send test"  ,
""  [canrawplayer] 
)

◆ TEST_CASE() [7/9]

TEST_CASE ( "setConfig - json"  ,
""  [canrawplayer] 
)

◆ TEST_CASE() [8/9]

TEST_CASE ( "setConfig - qobj"  ,
""  [canrawplayer] 
)

◆ TEST_CASE() [9/9]

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

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger