mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-13 04:55:44 +08:00
refs #214, unit test for BlackSim
This commit is contained in:
23
tests/blacksim/testblacksimmain.cpp
Normal file
23
tests/blacksim/testblacksimmain.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
/* 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/. */
|
||||
|
||||
#include "testblacksimmain.h"
|
||||
#include "testsimcommon.h"
|
||||
|
||||
namespace BlackSimTest
|
||||
{
|
||||
/*
|
||||
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
|
||||
*/
|
||||
int CBlackSimTestMain::unitMain(int argc, char *argv[])
|
||||
{
|
||||
int status = 0;
|
||||
{
|
||||
CTestFsCommon fscommon;
|
||||
status |= QTest::qExec(&fscommon, argc, argv);
|
||||
}
|
||||
return status;
|
||||
}
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user