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

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Stubbed methods", "[canload]")
 
 TEST_CASE ("setConfig - qobj", "[canload]")
 
 TEST_CASE ("configChanged", "[canload]")
 
 TEST_CASE ("getSupportedProperties", "[canload]")
 
 TEST_CASE ("start/stop - correct timings", "[canload]")
 
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/5]

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

◆ TEST_CASE() [2/5]

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

◆ TEST_CASE() [3/5]

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

◆ TEST_CASE() [4/5]

TEST_CASE ( "start/stop - correct timings"  ,
""  [canload] 
)

◆ TEST_CASE() [5/5]

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

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger