mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
98 lines
2.8 KiB
C++
98 lines
2.8 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 "testaviation.h"
|
|
#include "testblackmiscmain.h"
|
|
#include "testcontainers.h"
|
|
#include "testgeo.h"
|
|
#include "testidentifier.h"
|
|
#include "testinput.h"
|
|
#include "testlibrarypath.h"
|
|
#include "testmath.h"
|
|
#include "testphysicalquantities.h"
|
|
#include "testslot.h"
|
|
#include "testvaluecache.h"
|
|
#include "testvariantandmap.h"
|
|
#include "testweather.h"
|
|
#include "blackmisc/test.h"
|
|
|
|
#include <QStringList>
|
|
#include <QTest>
|
|
|
|
namespace BlackMiscTest
|
|
{
|
|
/*
|
|
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
|
|
*/
|
|
int CBlackMiscTestMain::unitMain(int argc, char *argv[])
|
|
{
|
|
BlackMisc::CTest test(argc, argv);
|
|
|
|
int status = 0;
|
|
{
|
|
CTestPhysicalQuantities pqBaseTests;
|
|
status |= test.exec(&pqBaseTests, "blackmisc_physicalQuantities");
|
|
}
|
|
{
|
|
CTestAviation avBaseTests;
|
|
status |= test.exec(&avBaseTests, "blackmisc_aviation");
|
|
}
|
|
{
|
|
CTestGeo geoTests;
|
|
status |= test.exec(&geoTests, "blackmisc_geo");
|
|
}
|
|
{
|
|
CTestContainers containerTests;
|
|
status |= test.exec(&containerTests, "blackmisc_containers");
|
|
}
|
|
{
|
|
CTestVariantAndMap variantAndMap;
|
|
status |= test.exec(&variantAndMap, "blackmisc_variantandmap");
|
|
}
|
|
{
|
|
CTestInput inputTests;
|
|
status |= test.exec(&inputTests, "blackmisc_input");
|
|
}
|
|
{
|
|
CTestIdentifier identifierTests;
|
|
status |= test.exec(&identifierTests, "blackmisc_identifier");
|
|
}
|
|
{
|
|
CTestSlot slotTests;
|
|
status |= test.exec(&slotTests, "blackmisc_slot");
|
|
}
|
|
{
|
|
CTestValueCache valueCacheTests;
|
|
status |= test.exec(&valueCacheTests, "blackmisc_valuecache");
|
|
}
|
|
{
|
|
CTestWeather weatherTests;
|
|
status |= test.exec(&weatherTests, "blackmisc_weather");
|
|
}
|
|
{
|
|
CTestMath mathTests;
|
|
status |= test.exec(&mathTests, "blackmisc_math");
|
|
}
|
|
{
|
|
CTestLibraryPath libraryPathTests;
|
|
status |= test.exec(&libraryPathTests, "blackmisc_librarypath");
|
|
}
|
|
return status;
|
|
}
|
|
} // namespace
|
|
|
|
//! \endcond
|