2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2015-07-13 17:12:45 +03:00
|
|
|
|
|
|
|
|
#include <QCoreApplication>
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
#include <QProcess>
|
|
|
|
|
#include <QtTest>
|
|
|
|
|
|
2022-04-04 14:31:22 +02:00
|
|
|
#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"
|
|
|
|
|
|
2015-07-13 17:12:45 +03:00
|
|
|
class SdktoolTest : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
private slots:
|
2022-04-04 14:31:22 +02:00
|
|
|
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(); }
|
2015-07-13 17:12:45 +03:00
|
|
|
};
|
|
|
|
|
|
2022-06-10 12:21:30 +02:00
|
|
|
QTEST_GUILESS_MAIN(SdktoolTest)
|
2015-07-13 17:12:45 +03:00
|
|
|
|
|
|
|
|
#include "tst_sdktool.moc"
|