File indexing completed on 2024-10-13 06:33:54
0001 /* 0002 SPDX-FileCopyrightText: 2012 Dario Freddi <drf@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef TEST_HELPER_H 0008 #define TEST_HELPER_H 0009 0010 #include <QObject> 0011 0012 #include <actionreply.h> 0013 0014 using namespace KAuth; 0015 0016 class TestHelper : public QObject 0017 { 0018 Q_OBJECT 0019 0020 public Q_SLOTS: 0021 ActionReply echoaction(QVariantMap args); 0022 ActionReply standardaction(QVariantMap args); 0023 ActionReply longaction(QVariantMap args); 0024 ActionReply failingaction(QVariantMap args); 0025 }; 0026 0027 #endif