File indexing completed on 2024-04-28 16:49:47
0001 /* 0002 SPDX-FileCopyrightText: 2007 John Tapsell <tapsell@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef PROCESSTEST_H 0008 #define PROCESSTEST_H 0009 0010 #include <QObject> 0011 namespace KSysGuard 0012 { 0013 class Process; 0014 } 0015 class testProcess : public QObject 0016 { 0017 Q_OBJECT 0018 private: 0019 unsigned long countNumChildren(KSysGuard::Process *p); 0020 private slots: 0021 void testTimeToUpdateAllProcesses(); 0022 void testTimeToUpdateModel(); 0023 void testProcesses(); 0024 void testProcessesTreeStructure(); 0025 void testProcessesModification(); 0026 void testHistories(); 0027 void testHistoriesWithWidget(); 0028 void testUpdateOrAddProcess(); 0029 void testCPUGraphHistory(); 0030 0031 void testSetScheduler(); 0032 void testSetScheduler_data(); 0033 void testSetIoScheduler_data(); 0034 void testSetIoScheduler(); 0035 }; 0036 #endif