diff options
| author | David Faure <faure@kde.org> | 2013-12-18 09:53:59 +0100 |
|---|---|---|
| committer | David Faure <faure@kde.org> | 2013-12-18 09:53:59 +0100 |
| commit | 159963832457e6307282308455330acc7b5bd153 (patch) | |
| tree | ce1cc0234d37e9afc75bc86d734beb963ed57d02 /autotests/kconfigskeletontest.cpp | |
| parent | 867e7a50e6396338ab4fe9aa22ad141e4cd344d2 (diff) | |
| download | kconfig-159963832457e6307282308455330acc7b5bd153.tar.gz kconfig-159963832457e6307282308455330acc7b5bd153.tar.bz2 | |
Code reformatted using kde-dev-scripts/astyle-kdelibs.
Use git blame -w 867e7a5 to show authorship as it was before this commit.
Diffstat (limited to 'autotests/kconfigskeletontest.cpp')
| -rw-r--r-- | autotests/kconfigskeletontest.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/autotests/kconfigskeletontest.cpp b/autotests/kconfigskeletontest.cpp index d3b30e84..31278e76 100644 --- a/autotests/kconfigskeletontest.cpp +++ b/autotests/kconfigskeletontest.cpp @@ -23,9 +23,7 @@ #include <QFont> #include <QtTest/QtTestGui> - -QTEST_MAIN( KConfigSkeletonTest) - +QTEST_MAIN(KConfigSkeletonTest) #define DEFAULT_SETTING1 false #define DEFAULT_SETTING2 QColor(1,2,3) @@ -60,14 +58,14 @@ void KConfigSkeletonTest::testSimple() mMyFont = WRITE_SETTING3; mMyString = WRITE_SETTING4; - writeConfig (); + writeConfig(); mMyBool = false; mMyColor = QColor(); mMyString.clear(); mMyFont = QFont(); - readConfig (); + readConfig(); QCOMPARE(mMyBool, WRITE_SETTING1); QCOMPARE(mMyColor, WRITE_SETTING2); @@ -98,7 +96,7 @@ void KConfigSkeletonTest::testClear() void KConfigSkeletonTest::testDefaults() { - setDefaults (); + setDefaults(); QCOMPARE(mMyBool, DEFAULT_SETTING1); QCOMPARE(mMyColor, DEFAULT_SETTING2); @@ -108,4 +106,3 @@ void KConfigSkeletonTest::testDefaults() writeConfig(); } - |
