CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
canrawsender_test.cpp File Reference
#include <QJsonArray>
#include <QStandardItemModel>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <canrawsender.h>
#include <context.h>
#include <QApplication>
#include <QSignalSpy>
#include <catch.hpp>
#include <fakeit.hpp>
#include <gui/crsguiinterface.h>
#include <log.h>
#include <memory>
#include <newlinemanager.h>
Include dependency graph for canrawsender_test.cpp:

Classes

class  commonTestClass
 

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 TEST_CASE ("Add and remove frame test", "[canrawsender]")
 
 TEST_CASE ("Can raw sender save configuration test", "[canrawsender]")
 
 TEST_CASE ("Can raw sender restore configuration test - pass", "[canrawsender]")
 
 TEST_CASE ("Can raw sender restore configuration test - column name incorrect", "[canrawsender]")
 
 TEST_CASE ("Can raw sender restore configuration test - Id incorrect", "[canrawsender]")
 
 TEST_CASE ("Can raw sender restore configuration test - Data incorrect", "[canrawsender]")
 
 TEST_CASE ("Can raw sender restore configuration test - Interval incorrect", "[canrawsender]")
 
 TEST_CASE ("Misc", "[canrawsender]")
 
 TEST_CASE ("setConfig using QObject", "[canrawsender]")
 
 TEST_CASE ("Restore config paths - columnAdopt", "[canrawsender]")
 
 TEST_CASE ("Restore config paths - contentAdopt", "[canrawsender]")
 
 TEST_CASE ("Restore config paths - sortingAdopt", "[canrawsender]")
 
 TEST_CASE ("Dock/Undock", "[canrawsender]")
 
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[] 
)

◆ TEST_CASE() [1/13]

TEST_CASE ( "Add and remove frame test"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [2/13]

TEST_CASE ( "Can raw sender restore configuration test - column name incorrect"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [3/13]

TEST_CASE ( "Can raw sender restore configuration test - Data incorrect"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [4/13]

TEST_CASE ( "Can raw sender restore configuration test - Id incorrect"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [5/13]

TEST_CASE ( "Can raw sender restore configuration test - Interval incorrect"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [6/13]

TEST_CASE ( "Can raw sender restore configuration test - pass"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [7/13]

TEST_CASE ( "Can raw sender save configuration test"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [8/13]

TEST_CASE ( "Dock/Undock"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [9/13]

TEST_CASE ( "Misc"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [10/13]

TEST_CASE ( "Restore config paths - columnAdopt"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [11/13]

TEST_CASE ( "Restore config paths - contentAdopt"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [12/13]

TEST_CASE ( "Restore config paths - sortingAdopt"  ,
""  [canrawsender] 
)

◆ TEST_CASE() [13/13]

TEST_CASE ( "setConfig using QObject"  ,
""  [canrawsender] 
)

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger