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

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Stubbed methods", "[cansignalsender]")
 
 TEST_CASE ("setConfig - qobj", "[cansignalsender]")
 
 TEST_CASE ("setConfig - json", "[cansignalsender]")
 
 TEST_CASE ("getConfig", "[cansignalsender]")
 
 TEST_CASE ("getQConfig", "[cansignalsender]")
 
 TEST_CASE ("configChanged", "[cansignalsender]")
 
 TEST_CASE ("getSupportedProperties", "[cansignalsender]")
 
 TEST_CASE ("row removing", "[cansignalsender]")
 
 TEST_CASE ("dock/undock", "[cansignaldata]")
 
 TEST_CASE ("signal sending", "[cansignaldata]")
 
 TEST_CASE ("bcast rcv", "[cansignaldata]")
 
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/11]

TEST_CASE ( "bcast rcv"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [2/11]

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

◆ TEST_CASE() [3/11]

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

◆ TEST_CASE() [4/11]

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

◆ TEST_CASE() [5/11]

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

◆ TEST_CASE() [6/11]

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

◆ TEST_CASE() [7/11]

TEST_CASE ( "row removing"  ,
""  [cansignalsender] 
)

◆ TEST_CASE() [8/11]

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

◆ TEST_CASE() [9/11]

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

◆ TEST_CASE() [10/11]

TEST_CASE ( "signal sending"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [11/11]

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

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger