File indexing completed on 2025-03-09 05:11:40

0001 /*
0002 SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 namespace Git
0012 {
0013 class Manager;
0014 };
0015 
0016 class SubmoduleTest : public QObject
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit SubmoduleTest(QObject *parent = nullptr);
0021     ~SubmoduleTest() override = default;
0022 
0023 private Q_SLOTS:
0024     void initTestCase();
0025     void cleanupTestCase();
0026     void makeACommit();
0027 
0028     void addSubmodule();
0029     void addInSameLocation();
0030     void checkExists();
0031     void lookup();
0032     void remove();
0033 
0034 private:
0035     Git::Manager *mManager;
0036 };