mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Moved PQs from blackcore to blackmisc, added header for namespace, mainpage.dox for Doxygen
This commit is contained in:
21
tests/blackmisc/testmain.h
Normal file
21
tests/blackmisc/testmain.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef TESTMAIN_H
|
||||
#define TESTMAIN_H
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
#include "testphysicalquantitiesbase.h"
|
||||
|
||||
namespace BlackMiscTest{
|
||||
|
||||
/*!
|
||||
* 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