File indexing completed on 2024-05-12 04:38:20

0001 /*
0002     SPDX-FileCopyrightText: 2008 Andreas Pakulat <apaku@gmx.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_TEST_PLUGINCONTROLLER_H
0008 #define KDEVPLATFORM_TEST_PLUGINCONTROLLER_H
0009 
0010 #include <QObject>
0011 
0012 namespace KDevelop
0013 {
0014 class Core;
0015 class PluginController;
0016 }
0017 
0018 class TestPluginController : public QObject
0019 {
0020     Q_OBJECT
0021 
0022 private Q_SLOTS:
0023     void initTestCase();
0024     void cleanupTestCase();
0025 
0026     void loadUnloadPlugin();
0027     void loadFromExtension();
0028     void pluginInfo();
0029     void benchPluginForExtension();
0030 
0031 private:
0032     KDevelop::PluginController* m_pluginCtrl;
0033 };
0034 
0035 #endif // KDEVPLATFORM_TEST_PLUGINCONTROLLER_H