File indexing completed on 2024-03-24 15:37:28

0001 /*
0002     SPDX-FileCopyrightText: 2017 David Edmundson <davidedmundson@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "../src/dbusutils_p.h"
0010 #include <QObject>
0011 #include <QVariantMap>
0012 
0013 class TestRemoteRunner : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit TestRemoteRunner(const QString &serviceName, bool showLifecycleMethodCalls);
0018 
0019 public Q_SLOTS:
0020     RemoteActions Actions();
0021     RemoteMatches Match(const QString &searchTerm);
0022     void Run(const QString &id, const QString &actionId);
0023     void Teardown();
0024     QVariantMap Config();
0025 
0026 private:
0027     bool m_showLifecycleMethodCalls = false;
0028 };