File indexing completed on 2024-03-24 15:40:38

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2006 David Faure <faure@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KMAINWINDOW_UNITTEST_H
0009 #define KMAINWINDOW_UNITTEST_H
0010 
0011 #include <QObject>
0012 
0013 class KMainWindow_UnitTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 private Q_SLOTS:
0018     void initTestCase();
0019     void cleanupTestCase();
0020     void testDefaultName();
0021     void testFixedName();
0022     void testNameWithSpecialChars();
0023     void testNameWithHash();
0024     void testSaveWindowSize();
0025     void testSaveWindowSizeInStateConfig();
0026     void testAutoSaveSettings();
0027     void testNoAutoSave();
0028     void testWidgetWithStatusBar();
0029 
0030     void testDeleteOnClose();
0031 };
0032 
0033 #endif