mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #214, unit test for BlackSim
This commit is contained in:
32
tests/blacksim/testblacksimmain.h
Normal file
32
tests/blacksim/testblacksimmain.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / contributors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef BLACKSIMTEST_TESTMAIN_H
|
||||
#define BLACKSIMTEST_TESTMAIN_H
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
|
||||
namespace BlackSimTest
|
||||
{
|
||||
|
||||
/*!
|
||||
* Class firing 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 CBlackSimTestMain
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
* \brief Starting all
|
||||
* \param argc
|
||||
* \param argv
|
||||
* \return
|
||||
*/
|
||||
static int unitMain(int argc, char *argv[]);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user