blob: faf3ad6d5407fce80f69b9511cd5541872e53306 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* This file is part of the KDE libraries
SPDX-FileCopyrightText: 2007 Thomas Braxton <kde.braxton@gmail.com>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KENTRYMAPTEST_H
#define KENTRYMAPTEST_H
#include "kconfigdata.h"
#include <QObject>
class KEntryMapTest : public QObject
{
Q_OBJECT
public:
typedef KEntryMap::EntryOptions EntryOptions;
typedef KEntryMap::SearchFlags SearchFlags;
typedef KEntryMap::SearchFlag SearchFlag;
static const SearchFlag SearchLocalized = KEntryMap::SearchLocalized;
static const SearchFlag SearchDefaults = KEntryMap::SearchDefaults;
typedef KEntryMap::EntryOption EntryOption;
static const EntryOption EntryDirty = KEntryMap::EntryDirty;
static const EntryOption EntryGlobal = KEntryMap::EntryGlobal;
static const EntryOption EntryImmutable = KEntryMap::EntryImmutable;
static const EntryOption EntryDeleted = KEntryMap::EntryDeleted;
static const EntryOption EntryExpansion = KEntryMap::EntryExpansion;
static const EntryOption EntryDefault = KEntryMap::EntryDefault;
static const EntryOption EntryLocalized = KEntryMap::EntryLocalized;
private Q_SLOTS:
void testKeyOrder();
void testSimple();
void testDirty();
void testDefault();
void testDelete();
void testGlobal();
void testImmutable();
void testLocale();
};
#endif // KENTRYMAPTEST_H
|