1 /*
2     SPDX-FileCopyrightText: 2007 John Tapsell <tapsell@kde.org>
3 
4     SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include <QDebug>
8 #include <QtCore>
9 #include <QtTest>
10 #include <qtest.h>
11 
12 #include <processui/ksysguardprocesslist.h>
13 
14 #include "guitest.h"
15 
testGUI()16 void testGuiProcess::testGUI()
17 {
18     KSysGuardProcessList processlist(NULL);
19 
20     QTime t;
21     t.start();
22 
23     for (int i = 0; i < 10; i++) {
24         processlist.updateList();
25     }
26     qDebug() << "time taken: " << t.elapsed() << "ms";
27 }
28 
29 QTEST_MAIN(testGuiProcess)
30