File indexing completed on 2024-04-14 03:57:05
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2007 David Faure <faure@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KXMLGUI_UNITTEST_H 0009 #define KXMLGUI_UNITTEST_H 0010 0011 #include <QObject> 0012 0013 class KXmlGui_UnitTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 private Q_SLOTS: 0018 void initTestCase(); 0019 void testFindVersionNumber_data(); 0020 void testFindVersionNumber(); 0021 void testVersionHandlerSameVersion(); 0022 void testVersionHandlerNewVersionNothingKept(); 0023 void testVersionHandlerNewVersionUserChanges(); 0024 void testPartMerging(); 0025 void testPartMergingSettings(); 0026 void testShortcutSchemeMerging(); 0027 void testUiStandardsMerging_data(); 0028 void testUiStandardsMerging(); 0029 void testActionListAndSeparator(); 0030 void testHiddenToolBar(); 0031 void testCustomPlaceToolBar(); 0032 void testDeletedContainers(); 0033 void testAutoSaveSettings(); 0034 void testXMLFileReplacement(); 0035 void testTopLevelSeparator(); 0036 void testMenuNames(); 0037 void testClientDestruction(); 0038 void testMenusNoXmlFile(); 0039 void testShortcuts(); 0040 void testPopupMenuParent(); 0041 void testSpecificApplicationLanguageQLocale(); 0042 void testSingleModifierQKeySequenceEndsWithPlus(); 0043 void testSaveShortcutsAndRefresh(); 0044 }; 0045 0046 #endif