mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 20:55:42 +08:00
Initial version of physical quantities
This commit is contained in:
25
tests/blackcore/testmain.h
Normal file
25
tests/blackcore/testmain.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef TESTMAIN_H
|
||||
#define TESTMAIN_H
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
#include "testphysicalquantitiesbase.h"
|
||||
|
||||
using namespace BlackCore;
|
||||
using namespace BlackCoreTest;
|
||||
|
||||
|
||||
namespace BlackCoreTest{
|
||||
|
||||
/*!
|
||||
* Class firing of all unit tests in this namespace.
|
||||
* Avoids clashes with other main(..) functions and allows to fire the test cases
|
||||
* simply from any other main.
|
||||
*/
|
||||
class TestMain
|
||||
{
|
||||
public:
|
||||
static int unitMain(int argc, char *argv[]);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // TESTMAIN_H
|
||||
Reference in New Issue
Block a user