CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
projectconfig_test.cpp File Reference
#include <QApplication>
#include <QCloseEvent>
#include <QDir>
#include <QMenu>
#include <QSignalSpy>
#include <QWindow>
#include <candevicemodel.h>
#include <canrawviewmodel.h>
#include <cansignaldata.h>
#include <catch.hpp>
#include <fakeit.hpp>
#include <log.h>
#include <nodes/FlowScene>
#include <pcinterface.h>
#include <projectconfig.h>
#include <projectconfigvalidator.h>
#include "ui_projectconfig.h"
#include <QPushButton>
#include <iconlabel.h>
#include <plugins.hpp>
Include dependency graph for projectconfig_test.cpp:

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

 TEST_CASE ("Loading and saving", "[projectconfig]")
 
 TEST_CASE ("Color mode", "[projectconfig]")
 
 TEST_CASE ("Close event", "[projectconfig]")
 
 TEST_CASE ("Validation schema parse error", "[projectconfig]")
 
 TEST_CASE ("Validation JSON format error", "[projectconfig]")
 
 TEST_CASE ("Validation schema validation failed", "[projectconfig]")
 
 TEST_CASE ("Validation succeeded", "[projectconfig]")
 
 TEST_CASE ("Validator validate", "[projectconfig]")
 
 TEST_CASE ("callbacks test", "[projectconfig]")
 
 TEST_CASE ("Plugin loading - sections not initialized", "[common]")
 
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/10]

TEST_CASE ( "callbacks test"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [2/10]

TEST_CASE ( "Close event"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [3/10]

TEST_CASE ( "Color mode"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [4/10]

TEST_CASE ( "Loading and saving"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [5/10]

TEST_CASE ( "Plugin loading - sections not initialized"  ,
""  [common] 
)

◆ TEST_CASE() [6/10]

TEST_CASE ( "Validation JSON format error"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [7/10]

TEST_CASE ( "Validation schema parse error"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [8/10]

TEST_CASE ( "Validation schema validation failed"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [9/10]

TEST_CASE ( "Validation succeeded"  ,
""  [projectconfig] 
)

◆ TEST_CASE() [10/10]

TEST_CASE ( "Validator validate"  ,
""  [projectconfig] 
)

Variable Documentation

◆ kDefaultLogger

std::shared_ptr<spdlog::logger> kDefaultLogger