refs #369, unit test for interpolator

This commit is contained in:
Klaus Basan
2015-02-24 01:58:00 +01:00
parent 420a47e90c
commit bd58475436
9 changed files with 250 additions and 73 deletions

View File

@@ -1,7 +1,11 @@
/* 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/. */
/* Copyright (C) 2014
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "testblackcoremain.h"
#include "testinterpolator.h"
@@ -10,20 +14,20 @@
namespace BlackCoreTest
{
/*
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
*/
int CBlackCoreTestMain::unitMain(int argc, char *argv[])
{
int status = 0;
/*
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
*/
int CBlackCoreTestMain::unitMain(int argc, char *argv[])
{
CTestInterpolator interpolatorTests;
status |= QTest::qExec(&interpolatorTests, argc, argv);
int status = 0;
{
CTestInterpolator interpolatorTests;
status |= QTest::qExec(&interpolatorTests, argc, argv);
}
{
// CTestNetwork networkTests;
// status |= QTest::qExec(&networkTests, argc, argv);
}
return status;
}
{
CTestNetwork networkTests;
status |= QTest::qExec(&networkTests, argc, argv);
}
return status;
}
} // namespace