DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
tests/main.cpp
1
#include <QCoreApplication>
2
#include <QtTest>
3
4
int
RunParserTests(
int
argc,
char
**argv);
5
int
RunDecoderTests(
int
argc,
char
**argv);
6
int
RunCoverageTests(
int
argc,
char
**argv);
7
8
int
RunLifetimeTests(
int
argc,
char
**argv);
9
10
int
RunValidationTests(
int
argc,
char
**argv);
11
12
int
RunPipelineTests(
int
argc,
char
**argv);
13
14
int
main
(
int
argc,
char
**argv) {
15
QCoreApplication application(argc, argv);
16
const
int
parserResult = RunParserTests(argc, argv);
17
const
int
decoderResult = RunDecoderTests(argc, argv);
18
const
int
coverageResult = RunCoverageTests(argc, argv);
19
const
int
lifetimeResult = RunLifetimeTests(argc, argv);
20
const
int
validationResult = RunValidationTests(argc, argv);
21
const
int
pipelineResult = RunPipelineTests(argc, argv);
22
return
pipelineResult | validationResult | parserResult | decoderResult | coverageResult | lifetimeResult;
23
}
main
int main(int argc, char *argv[])
Parse a DBC file and demonstrate metadata lookup and CAN decoding.
Definition
examples/main.cpp:101
tests
main.cpp
Generated by
1.9.8