diff options
author | Albert Astals Cid <aacid@kde.org> | 2015-01-07 00:54:10 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2015-01-07 00:55:00 +0100 |
commit | 257b66e049483d198723e515c3c1e65e18b6afb3 (patch) | |
tree | 8fda0c355cbbebda4249ed737807206ea243cf9c /autotests/kconfigskeletontest.h | |
parent | 915976c1238be811f169eab1b02f7e8dad6410e0 (diff) | |
download | kconfig-257b66e049483d198723e515c3c1e65e18b6afb3.tar.gz kconfig-257b66e049483d198723e515c3c1e65e18b6afb3.tar.bz2 |
Fix KCoreConfigSkeleton when toggling a value with saves in between
REVIEW: 121838
Acked by Matthew Dawson
Diffstat (limited to 'autotests/kconfigskeletontest.h')
-rw-r--r-- | autotests/kconfigskeletontest.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/autotests/kconfigskeletontest.h b/autotests/kconfigskeletontest.h index c54c7b07..5cdcc9d3 100644 --- a/autotests/kconfigskeletontest.h +++ b/autotests/kconfigskeletontest.h @@ -21,19 +21,24 @@ #include <kconfigskeleton.h> -class KConfigSkeletonTest : public KConfigSkeleton +class KConfigSkeletonTest : public QObject { Q_OBJECT public: private Q_SLOTS: - void initTestCase(); + void init(); + void cleanup(); void testSimple(); void testDefaults(); void testRemoveItem(); void testClear(); + void testKConfigDirty(); + void testSaveRead(); private: + KConfigSkeleton *s; + KConfigSkeleton::ItemBool *itemBool; bool mMyBool; QColor mMyColor; QFont mMyFont; |