File indexing completed on 2024-05-12 04:39:45
0001 /* 0002 SPDX-FileCopyrightText: 2018 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEV_TESTMIPARSER_H 0008 #define KDEV_TESTMIPARSER_H 0009 0010 #include <QObject> 0011 0012 namespace KDevMI { namespace MI { struct Value; }} 0013 0014 0015 class TestMIParser : public QObject 0016 { 0017 Q_OBJECT 0018 0019 private Q_SLOTS: 0020 void initTestCase(); 0021 void testParseLine_data(); 0022 void testParseLine(); 0023 0024 private: 0025 void doTestResult(const KDevMI::MI::Value& actualValue, const QVariant& expectedValue); 0026 }; 0027 0028 #endif