mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-10 03:16:09 +08:00
Changed interpolator (preliminary) to work with PQs and new classes, added stubs for unit tests in BlackCore
This commit is contained in:
28
tests/blackmisc/testblackmiscmain.cpp
Normal file
28
tests/blackmisc/testblackmiscmain.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / contributors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "testblackmiscmain.h"
|
||||
|
||||
namespace BlackMiscTest
|
||||
{
|
||||
/*
|
||||
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
|
||||
*/
|
||||
int CBlackMiscTestMain::unitMain(int argc, char *argv[])
|
||||
{
|
||||
int status = 0;
|
||||
{
|
||||
CTestPhysicalQuantities pqBaseTests ;
|
||||
CTestAviation avBaseTests;
|
||||
CTestVectorMatrix vmTests;
|
||||
CTestGeo geoTests;
|
||||
status |= QTest::qExec(&pqBaseTests, argc, argv);
|
||||
status |= QTest::qExec(&avBaseTests, argc, argv);
|
||||
status |= QTest::qExec(&vmTests, argc, argv);
|
||||
status |= QTest::qExec(&geoTests, argc, argv);
|
||||
}
|
||||
return status;
|
||||
}
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user