blob: 613be7ad289bad07e13617ab03ea5ce3c017a0af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "testtest.h"
#include "testparser.h"
#include <QTest>
#include <QDebug>
#include <iostream>
int main(int argc, char *argv[])
{
TestTest test;
TestParser parser;
int r = QTest::qExec(&test, argc, argv) |
QTest::qExec(&parser, argc, argv);
if (r == 0) std::cout << "***************** All tests passed! *****************\n";
else std::cout << "***************** Some tests failed. *****************\n";
return r;
}
|