CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
cansignaldata_test.cpp File Reference
#include <QtWidgets/QApplication>
#include <cansignaldata.h>
#include "log.h"
#include <QAbstractItemModel>
#include <QCanBusFrame>
#include <QJsonArray>
#include <QJsonDocument>
#include <QSignalSpy>
#include <QStandardItemModel>
#include <QWidget>
#include <catch.hpp>
#include <fakeit.hpp>
#include <gui/cansignaldataguiint.h>
#include <searchmodel.h>
Include dependency graph for cansignaldata_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Stubbed methods", "[cansignaldata]")
 
 TEST_CASE ("setConfig - qobj", "[cansignaldata]")
 
 TEST_CASE ("setConfig - json", "[cansignaldata]")
 
 TEST_CASE ("getConfig", "[cansignaldata]")
 
 TEST_CASE ("getQConfig", "[cansignaldata]")
 
 TEST_CASE ("start/stop", "[cansignaldata]")
 
 TEST_CASE ("getSupportedProperties", "[cansignaldata]")
 
 TEST_CASE ("loadDbc", "[cansignaldata]")
 
 TEST_CASE ("loadDbc with settings", "[cansignaldata]")
 
 TEST_CASE ("dock/undock", "[cansignaldata]")
 
 TEST_CASE ("View switch test", "[cansignaldata]")
 
 TEST_CASE ("settings callback", "[cansignaldata]")
 
 TEST_CASE ("Filter test", "[cansignaldata]")
 
int main (int argc, char *argv[])
 

Variables

std::shared_ptr< spdlog::logger > kDefaultLogger
 
QString testJson
 

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/13]

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

◆ TEST_CASE() [2/13]

TEST_CASE ( "Filter test"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [3/13]

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

◆ TEST_CASE() [4/13]

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

◆ TEST_CASE() [5/13]

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

◆ TEST_CASE() [6/13]

TEST_CASE ( "loadDbc with settings"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [7/13]

TEST_CASE ( "loadDbc"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [8/13]

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

◆ TEST_CASE() [9/13]

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

◆ TEST_CASE() [10/13]

TEST_CASE ( "settings callback"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [11/13]

TEST_CASE ( "start/stop"  ,
""  [cansignaldata] 
)

◆ TEST_CASE() [12/13]

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

◆ TEST_CASE() [13/13]

TEST_CASE ( "View switch test"  ,
""  [cansignaldata] 
)

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger

◆ testJson

QString testJson