CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
canrawlogger_test.cpp File Reference
#include <QtWidgets/QApplication>
#include <canrawlogger.h>
#include "log.h"
#include <QCanBusFrame>
#include <QDir>
#include <QRegularExpression>
#include <QSignalSpy>
#include <QTextStream>
#include <catch.hpp>
#include <fakeit.hpp>
#include <QtCore/qprocess.h>
Include dependency graph for canrawlogger_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 Q_DECLARE_METATYPE (QCanBusFrame)
 
 TEST_CASE ("Stubbed methods", "[canrawlogger]")
 
 TEST_CASE ("setConfig - qobj", "[canrawlogger]")
 
 TEST_CASE ("setConfig - json", "[canrawlogger]")
 
 TEST_CASE ("getConfig", "[canrawlogger]")
 
 TEST_CASE ("getQConfig", "[canrawlogger]")
 
 TEST_CASE ("configChanged", "[canrawlogger]")
 
 TEST_CASE ("getSupportedProperties", "[canrawlogger]")
 
 TEST_CASE ("logging - directories", "[canrawlogger]")
 
 TEST_CASE ("logging - filenames", "[canrawlogger]")
 
 TEST_CASE ("logging - send/receive", "[canrawlogger]")
 
 TEST_CASE ("logging - send/receive, removed file", "[canrawlogger]")
 
 TEST_CASE ("logging - send/receive while stopped", "[canrawlogger]")
 
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 ( "configChanged"  ,
""  [canrawlogger] 
)

◆ TEST_CASE() [2/12]

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

◆ TEST_CASE() [3/12]

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

◆ TEST_CASE() [4/12]

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

◆ TEST_CASE() [5/12]

TEST_CASE ( "logging - directories"  ,
""  [canrawlogger] 
)

◆ TEST_CASE() [6/12]

TEST_CASE ( "logging - filenames"  ,
""  [canrawlogger] 
)

◆ TEST_CASE() [7/12]

TEST_CASE ( "logging - send/receive while stopped"  ,
""  [canrawlogger] 
)

◆ TEST_CASE() [8/12]

TEST_CASE ( "logging - send/receive"  ,
""  [canrawlogger] 
)

◆ TEST_CASE() [9/12]

TEST_CASE ( "logging - send/  receive,
removed file"  ,
""  [canrawlogger] 
)

◆ TEST_CASE() [10/12]

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

◆ TEST_CASE() [11/12]

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

◆ TEST_CASE() [12/12]

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

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger