mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Initial version of physical quantities
This commit is contained in:
19
tests/blackcore/testmain.cpp
Normal file
19
tests/blackcore/testmain.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "testmain.h"
|
||||
|
||||
namespace BlackCoreTest {
|
||||
|
||||
//! Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
|
||||
/*! \param argc
|
||||
\param argv
|
||||
\sa http://stackoverflow.com/questions/12194256/qt-how-to-organize-unit-test-with-more-than-one-class
|
||||
*/
|
||||
int TestMain::unitMain(int argc, char *argv[])
|
||||
{
|
||||
int status = 0;
|
||||
{
|
||||
TestPhysicalQuantitiesBase pqBaseTests ;
|
||||
status |= QTest::qExec(&pqBaseTests, argc, argv);
|
||||
}
|
||||
return status;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user