From 257b66e049483d198723e515c3c1e65e18b6afb3 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Wed, 7 Jan 2015 00:54:10 +0100 Subject: Fix KCoreConfigSkeleton when toggling a value with saves in between REVIEW: 121838 Acked by Matthew Dawson --- autotests/kconfigskeletontest.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'autotests/kconfigskeletontest.h') 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 -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; -- cgit v1.2.1