forked from qt-creator/qt-creator
Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0,
this applies only to a hypothetical newer version of GPL, that doesn't
exist yet. If such a version emerges, we can still decide to relicense...
While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only
Change was done by running
find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \;
Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
62 lines
2.2 KiB
C++
62 lines
2.2 KiB
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#include <QCoreApplication>
|
|
#include <QDebug>
|
|
#include <QProcess>
|
|
#include <QtTest>
|
|
|
|
#ifndef WITH_TESTS
|
|
#define WITH_TESTS
|
|
#endif
|
|
|
|
#include "addabiflavor.h"
|
|
#include "addcmakeoperation.h"
|
|
#include "adddebuggeroperation.h"
|
|
#include "adddeviceoperation.h"
|
|
#include "addkeysoperation.h"
|
|
#include "addqtoperation.h"
|
|
#include "addtoolchainoperation.h"
|
|
#include "addvalueoperation.h"
|
|
#include "findkeyoperation.h"
|
|
#include "findvalueoperation.h"
|
|
#include "getoperation.h"
|
|
#include "rmcmakeoperation.h"
|
|
#include "rmdebuggeroperation.h"
|
|
#include "rmdeviceoperation.h"
|
|
#include "rmkeysoperation.h"
|
|
#include "rmkitoperation.h"
|
|
#include "rmqtoperation.h"
|
|
#include "rmtoolchainoperation.h"
|
|
#include "addkitoperation.h"
|
|
|
|
class SdktoolTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private slots:
|
|
void test_AddAbiFlavorOperation() { AddAbiFlavor::unittest(); }
|
|
void test_AddCMakeOperation() { AddCMakeOperation::unittest(); }
|
|
void test_AddDebuggerOperation() { AddDebuggerOperation::unittest(); }
|
|
void test_AddDeviceOperation() { AddDeviceOperation::unittest(); }
|
|
void test_AddKeysOperation() { AddKeysOperation::unittest(); }
|
|
void test_AddKitOperation() { AddKitOperation::unittest(); }
|
|
void test_AddQtOperation() { AddQtOperation::unittest(); }
|
|
void test_AddToolchainOperation() { AddToolChainOperation::unittest(); }
|
|
void test_AddValueOperation() { AddValueOperation::unittest(); }
|
|
void test_FindKeyOperation() { FindKeyOperation::unittest(); }
|
|
void test_FindValueOperation() { FindValueOperation::unittest(); }
|
|
void test_GetOperation() { GetOperation::unittest(); }
|
|
void test_RmCMakeOperation() { RmCMakeOperation::unittest(); }
|
|
void test_RmDebuggerOperation() { RmDebuggerOperation::unittest(); }
|
|
void test_RmDeviceOperation() { RmDeviceOperation::unittest(); }
|
|
void test_RmKeysOperation() { RmKeysOperation::unittest(); }
|
|
void test_RmKitOperation() { RmKitOperation::unittest(); }
|
|
void test_RmQtOperation() { RmQtOperation::unittest(); }
|
|
void test_RmToolChainOperation() { RmToolChainOperation::unittest(); }
|
|
};
|
|
|
|
QTEST_GUILESS_MAIN(SdktoolTest)
|
|
|
|
#include "tst_sdktool.moc"
|