mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Configure additional xml output for each unit test via a BlackMisc utility class
refs #682
This commit is contained in:
committed by
Roland Winklmeier
parent
fbad0977fd
commit
fdfc5256eb
@@ -18,25 +18,29 @@
|
||||
#include "testinterpolator.h"
|
||||
#include "testnetwork.h"
|
||||
#include "testreaders.h"
|
||||
#include "blackmisc/test.h"
|
||||
|
||||
#include <QStringList>
|
||||
#include <QtTest>
|
||||
|
||||
namespace BlackCoreTest
|
||||
{
|
||||
int CBlackCoreTestMain::unitMain(int argc, char *argv[])
|
||||
{
|
||||
BlackMisc::CTest test(argc, argv);
|
||||
|
||||
int status = 0;
|
||||
{
|
||||
CTestInterpolator interpolatorTests;
|
||||
status |= QTest::qExec(&interpolatorTests, argc, argv);
|
||||
status |= test.exec(&interpolatorTests, "blackcore_interpolator");
|
||||
}
|
||||
{
|
||||
CTestReaders readersTests;
|
||||
status |= QTest::qExec(&readersTests, argc, argv);
|
||||
status |= test.exec(&readersTests, "blackcore_readers");
|
||||
}
|
||||
{
|
||||
CTestNetwork networkTests;
|
||||
status |= QTest::qExec(&networkTests, argc, argv);
|
||||
status |= test.exec(&networkTests, "blackcore_network");
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user