Files
pilotclient/tests/blackgui/testblackguimain.cpp
Klaus Basan ed820da20d refs #875, refs #879, class for test data
(will be consolidated with existing utility classes)
2017-02-24 15:21:16 +00:00

43 lines
1.1 KiB
C++

/* Copyright (C) 2015
* 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.
*/
//! \cond PRIVATE_TESTS
/*!
* \file
* \ingroup testblackgui
*/
#include "testblackguimain.h"
#include "testutils.h"
#include "blackmisc/test/test.h"
#include <QStringList>
#include <QtTest>
namespace BlackGuiTest
{
/*
* Starting main, equivalent to QTEST_APPLESS_MAIN for multiple test classes.
*/
int CBlackGuiTestMain::unitMain(int argc, char *argv[])
{
BlackMisc::Test::CTest test(argc, argv);
int status = 0;
{
CTestGuiUtilities utilityTests;
status |= test.exec(&utilityTests, "blackgui_guiutilities");
}
return status;
}
} // namespace
//! \endcond