CANdevStudio
Development tool for CAN bus simulation
|
#include <QtWidgets/QApplication>
#include <candevicemodel.h>
#include "log.h"
#include <QSignalSpy>
#include <datamodeltypes/canrawdata.h>
#include <catch.hpp>
#include <fakeit.hpp>
Macros | |
#define | CATCH_CONFIG_RUNNER |
Functions | |
Q_DECLARE_METATYPE (QCanBusFrame) | |
TEST_CASE ("Test basic functionality", "[candevice]") | |
TEST_CASE ("Port information", "[candevice]") | |
TEST_CASE ("Calling frameReceived emits dataUpdated and outData returns that frame", "[candevice]") | |
TEST_CASE ("Calling frameSent emits dataUpdated and outData returns that frame", "[candevice]") | |
TEST_CASE ("Calling setInData will result in sendFrame being emitted", "[candevice]") | |
TEST_CASE ("Test save configuration", "[candevice]") | |
TEST_CASE ("Getters", "[candevice]") | |
TEST_CASE ("Tx queue full test", "[candevice]") | |
TEST_CASE ("Rx queue full test", "[candevice]") | |
int | main (int argc, char *argv[]) |
Variables | |
std::shared_ptr< spdlog::logger > | kDefaultLogger |
#define CATCH_CONFIG_RUNNER |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Q_DECLARE_METATYPE | ( | QCanBusFrame | ) |
TEST_CASE | ( | "Calling frameReceived emits dataUpdated and outData returns that frame" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Calling frameSent emits dataUpdated and outData returns that frame" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Calling setInData will result in sendFrame being emitted" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Getters" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Port information" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Rx queue full test" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Test basic functionality" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Test save configuration" | , |
"" | [candevice] | ||
) |
TEST_CASE | ( | "Tx queue full test" | , |
"" | [candevice] | ||
) |
std::shared_ptr<spdlog::logger> kDefaultLogger |