refs #214, unit test for BlackSim

This commit is contained in:
Klaus Basan
2014-04-21 11:31:56 +02:00
parent d95c86d094
commit 1cad64fef8
7 changed files with 160 additions and 0 deletions

View 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