CANdevStudio
Development tool for CAN bus simulation
|
#include <QtWidgets/QApplication>
#include <cansignalencoder.h>
#include "log.h"
#include <QCanBusFrame>
#include <QJsonDocument>
#include <QSignalSpy>
#include <bcastmsgs.h>
#include <cansignaldata.h>
#include <catch.hpp>
#include <fakeit.hpp>
Macros | |
#define | CATCH_CONFIG_RUNNER |
Functions | |
Q_DECLARE_METATYPE (QCanBusFrame) | |
TEST_CASE ("Stubbed methods", "[cansignalencoder]") | |
TEST_CASE ("setConfig - qobj", "[cansignalencoder]") | |
TEST_CASE ("setConfig - json", "[cansignalencoder]") | |
TEST_CASE ("getConfig", "[cansignalencoder]") | |
TEST_CASE ("getQConfig", "[cansignalencoder]") | |
TEST_CASE ("configChanged", "[cansignalencoder]") | |
TEST_CASE ("getSupportedProperties", "[cansignalencoder]") | |
TEST_CASE ("send preconfigured", "[cansignalencoder]") | |
TEST_CASE ("recive signals", "[cansignalencoder]") | |
TEST_CASE ("factor 0", "[cansignalencoder]") | |
TEST_CASE ("Signal too big", "[cansignalencoder]") | |
TEST_CASE ("reset init value", "[cansignalencoder]") | |
TEST_CASE ("UnsignedSignals_LE", "[cansignalencoder]") | |
TEST_CASE ("SignedSignals_LE", "[cansignalencoder]") | |
TEST_CASE ("UnsignedSignals_BE", "[cansignalencoder]") | |
TEST_CASE ("SignedSignals_BE", "[cansignalencoder]") | |
int | main (int argc, char *argv[]) |
Variables | |
std::shared_ptr< spdlog::logger > | kDefaultLogger |
QString | testJson |
QString | testJson2 |
#define CATCH_CONFIG_RUNNER |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Q_DECLARE_METATYPE | ( | QCanBusFrame | ) |
TEST_CASE | ( | "configChanged" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "factor 0" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "getConfig" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "getQConfig" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "getSupportedProperties" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "recive signals" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "reset init value" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "send preconfigured" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "setConfig - json" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "setConfig - qobj" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "Signal too big" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "SignedSignals_BE" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "SignedSignals_LE" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "Stubbed methods" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "UnsignedSignals_BE" | , |
"" | [cansignalencoder] | ||
) |
TEST_CASE | ( | "UnsignedSignals_LE" | , |
"" | [cansignalencoder] | ||
) |
std::shared_ptr<spdlog::logger> kDefaultLogger |
QString testJson |
QString testJson2 |