21 lines
753 B
C++
21 lines
753 B
C++
#include <QCoreApplication>
|
|
#include <QtTest>
|
|
|
|
int RunParserTests(int argc, char **argv);
|
|
int RunDecoderTests(int argc, char **argv);
|
|
int RunCoverageTests(int argc, char **argv);
|
|
|
|
int RunLifetimeTests(int argc, char **argv);
|
|
|
|
int RunValidationTests(int argc, char **argv);
|
|
|
|
int main(int argc, char **argv) {
|
|
QCoreApplication application(argc, argv);
|
|
const int parserResult = RunParserTests(argc, argv);
|
|
const int decoderResult = RunDecoderTests(argc, argv);
|
|
const int coverageResult = RunCoverageTests(argc, argv);
|
|
const int lifetimeResult = RunLifetimeTests(argc, argv);
|
|
const int validationResult = RunValidationTests(argc, argv);
|
|
return validationResult | parserResult | decoderResult | coverageResult | lifetimeResult;
|
|
}
|