File indexing completed on 2024-04-28 15:19:33
0001 /* This file is part of the KDE libraries 0002 SPDX-FileCopyrightText: 2007 Thomas Braxton <kde.braxton@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KENTRYMAPTEST_H 0008 #define KENTRYMAPTEST_H 0009 0010 #include "kconfigdata_p.h" 0011 #include <QObject> 0012 0013 class KEntryMapTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 typedef KEntryMap::EntryOptions EntryOptions; 0019 typedef KEntryMap::SearchFlags SearchFlags; 0020 0021 typedef KEntryMap::SearchFlag SearchFlag; 0022 static const SearchFlag SearchLocalized = KEntryMap::SearchLocalized; 0023 static const SearchFlag SearchDefaults = KEntryMap::SearchDefaults; 0024 0025 typedef KEntryMap::EntryOption EntryOption; 0026 static const EntryOption EntryDirty = KEntryMap::EntryDirty; 0027 static const EntryOption EntryGlobal = KEntryMap::EntryGlobal; 0028 static const EntryOption EntryImmutable = KEntryMap::EntryImmutable; 0029 static const EntryOption EntryDeleted = KEntryMap::EntryDeleted; 0030 static const EntryOption EntryExpansion = KEntryMap::EntryExpansion; 0031 static const EntryOption EntryDefault = KEntryMap::EntryDefault; 0032 static const EntryOption EntryLocalized = KEntryMap::EntryLocalized; 0033 private Q_SLOTS: 0034 void testKeyOrder(); 0035 void testSimple(); 0036 void testDirty(); 0037 void testDefault(); 0038 void testDelete(); 0039 void testGlobal(); 0040 void testImmutable(); 0041 void testLocale(); 0042 }; 0043 0044 #endif // KENTRYMAPTEST_H