[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/tests
From: David Faure <faure () kde ! org>
Date: 2010-12-22 20:42:46
Message-ID: 20101222204246.3A0613E1F1 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1208681 by dfaure:
Test that creating a KConfig works (no warnings).
CCBUG: 225636
M +5 -0 qcoreapptest.cpp
--- trunk/KDE/kdelibs/kdecore/tests/qcoreapptest.cpp #1208680:1208681
@@ -23,6 +23,7 @@
#include <kcomponentdata.h>
#include <klocale.h>
#include <kglobal.h>
+#include <kconfiggroup.h>
#include <kdebug.h>
int main(int argc, char **argv)
@@ -36,6 +37,10 @@
const QString ok = i18n("OK");
Q_UNUSED(ok);
+ // Test that KConfig works
+ KConfig foo("foorc");
+ foo.group("group").writeEntry("test", "val");
+
return 0;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic