mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
64 lines
2.1 KiB
C++
64 lines
2.1 KiB
C++
/* Copyright (C) 2013
|
|
* swift Project Community / Contributors
|
|
*
|
|
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
|
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
|
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
|
* contained in the LICENSE file.
|
|
*/
|
|
|
|
//! \cond PRIVATE_TESTS
|
|
|
|
/*!
|
|
* \file
|
|
* \ingroup testblackmisc
|
|
*/
|
|
|
|
#include "testphysicalquantities.h"
|
|
#include "testaviation.h"
|
|
#include "testgeo.h"
|
|
#include "testidentifier.h"
|
|
#include "testcontainers.h"
|
|
#include "testvariantandmap.h"
|
|
#include "testinput.h"
|
|
#include "testvaluecache.h"
|
|
#include "testblackmiscmain.h"
|
|
#include "testweather.h"
|
|
#include "testmath.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;
|
|
CTestGeo geoTests;
|
|
CTestContainers containerTests;
|
|
CTestVariantAndMap variantAndMap;
|
|
CTestInput inputTests;
|
|
CTestIdentifier identifierTests;
|
|
CTestValueCache valueCacheTests;
|
|
CTestWeather weatherTests;
|
|
CTestMath mathTests;
|
|
status |= QTest::qExec(&pqBaseTests, argc, argv);
|
|
status |= QTest::qExec(&avBaseTests, argc, argv);
|
|
status |= QTest::qExec(&geoTests, argc, argv);
|
|
status |= QTest::qExec(&identifierTests, argc, argv);
|
|
status |= QTest::qExec(&containerTests, argc, argv);
|
|
status |= QTest::qExec(&variantAndMap, argc, argv);
|
|
status |= QTest::qExec(&inputTests, argc, argv);
|
|
status |= QTest::qExec(&valueCacheTests, argc, argv);
|
|
status |= QTest::qExec(&weatherTests, argc, argv);
|
|
status |= QTest::qExec(&mathTests, argc, argv);
|
|
}
|
|
return status;
|
|
}
|
|
} // namespace
|
|
|
|
//! \endcond
|