CANdevStudio
Development tool for CAN bus simulation
|
#include <QtWidgets/QApplication>
#include <canrawfilter.h>
#include "log.h"
#include <QCanBusFrame>
#include <QJsonArray>
#include <QJsonObject>
#include <QSignalSpy>
#include <catch.hpp>
#include <fakeit.hpp>
#include <gui/canrawfilterguiint.h>
Macros | |
#define | CATCH_CONFIG_RUNNER |
Functions | |
Q_DECLARE_METATYPE (QCanBusFrame) | |
TEST_CASE ("Stubbed methods", "[canrawfilter]") | |
TEST_CASE ("setConfig - qobj", "[canrawfilter]") | |
TEST_CASE ("setConfig - json", "[canrawfilter]") | |
TEST_CASE ("getConfig", "[canrawfilter]") | |
TEST_CASE ("getQConfig", "[canrawfilter]") | |
TEST_CASE ("configChanged", "[canrawfilter]") | |
TEST_CASE ("getSupportedProperties", "[canrawfilter]") | |
TEST_CASE ("default accept list RX", "[canrawfilter]") | |
template<typename M , typename TX , typename RX > | |
void | setupMock (M &mock, TX &txCbk, RX &rxCbk) |
TEST_CASE ("empty accept list RX", "[canrawfilter]") | |
TEST_CASE ("custom list RX", "[canrawfilter]") | |
TEST_CASE ("empty accept list TX", "[canrawfilter]") | |
TEST_CASE ("custom list TX", "[canrawfilter]") | |
TEST_CASE ("Payload filtering", "[canrawfilter]") | |
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 | ( | "configChanged" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "custom list RX" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "custom list TX" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "default accept list RX" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "empty accept list RX" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "empty accept list TX" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "getConfig" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "getQConfig" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "getSupportedProperties" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "Payload filtering" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "setConfig - json" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "setConfig - qobj" | , |
"" | [canrawfilter] | ||
) |
TEST_CASE | ( | "Stubbed methods" | , |
"" | [canrawfilter] | ||
) |
std::shared_ptr<spdlog::logger> kDefaultLogger |