File indexing completed on 2024-05-12 04:41:04

0001 /*
0002     SPDX-FileCopyrightText: 2009 Fabian Wiesel <fabian.wiesel@googlemail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_PLUGIN_SVNIMPORT_H
0008 #define KDEVPLATFORM_PLUGIN_SVNIMPORT_H
0009 
0010 #include <QObject>
0011 
0012 class QTemporaryDir;
0013 namespace KDevelop
0014 {
0015 class TestCore;
0016 class ICentralizedVersionControl;
0017 }
0018 
0019 class TestSvnImport
0020             : public QObject
0021 {
0022     Q_OBJECT
0023 private Q_SLOTS:
0024     void initTestCase();
0025     void cleanupTestCase();
0026     void testBasic();
0027     void testImportIntoDir();
0028     void testImportWithMissingDirs();
0029 private:
0030     void validateImport( const QString& repo, QTemporaryDir& checkout, const QString& origcontent );
0031     KDevelop::ICentralizedVersionControl* vcs = nullptr;
0032 };
0033 
0034 #endif // KDEVPLATFORM_PLUGIN_SVNRECURSIVEADD_H