CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
cansignalviewer_test.cpp File Reference
#include <QtWidgets/QApplication>
#include <cansignalviewer.h>
#include "log.h"
#include <QAbstractItemModel>
#include <QCanBusFrame>
#include <QSignalSpy>
#include <catch.hpp>
#include <datamodeltypes/datadirection.h>
#include <fakeit.hpp>
#include <gui/cansignalviewerguiint.h>
Include dependency graph for cansignalviewer_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Stubbed methods", "[cansignalviewer]")
 
 TEST_CASE ("setConfig - qobj", "[cansignalviewer]")
 
 TEST_CASE ("setConfig - json", "[cansignalviewer]")
 
 TEST_CASE ("getConfig", "[cansignalviewer]")
 
 TEST_CASE ("getQConfig", "[cansignalviewer]")
 
 TEST_CASE ("misc", "[cansignalviewer]")
 
 TEST_CASE ("sort", "[cansignalviewer]")
 
 TEST_CASE ("dock/undock", "[cansignalviewer]")
 
 TEST_CASE ("getSupportedProperties", "[cansignalviewer]")
 
 TEST_CASE ("Start/Stop", "[cansignalviewer]")
 
 TEST_CASE ("Standard/Unique test", "[cansignalviewer]")
 
 TEST_CASE ("Overrun", "[cansignalviewer]")
 
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/12]

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

◆ TEST_CASE() [2/12]

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

◆ TEST_CASE() [3/12]

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

◆ TEST_CASE() [4/12]

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

◆ TEST_CASE() [5/12]

TEST_CASE ( "misc"  ,
""  [cansignalviewer] 
)

◆ TEST_CASE() [6/12]

TEST_CASE ( "Overrun"  ,
""  [cansignalviewer] 
)

◆ TEST_CASE() [7/12]

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

◆ TEST_CASE() [8/12]

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

◆ TEST_CASE() [9/12]

TEST_CASE ( "sort"  ,
""  [cansignalviewer] 
)

◆ TEST_CASE() [10/12]

TEST_CASE ( "Standard/Unique test"  ,
""  [cansignalviewer] 
)

◆ TEST_CASE() [11/12]

TEST_CASE ( "Start/Stop"  ,
""  [cansignalviewer] 
)

◆ TEST_CASE() [12/12]

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

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger