aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2013-12-18 09:53:59 +0100
committerDavid Faure <faure@kde.org>2013-12-18 09:53:59 +0100
commit159963832457e6307282308455330acc7b5bd153 (patch)
treece1cc0234d37e9afc75bc86d734beb963ed57d02 /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parent867e7a50e6396338ab4fe9aa22ad141e4cd344d2 (diff)
downloadkconfig-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/kconfig_compiler/kconfigcompiler_test.cpp')
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp56
1 files changed, 26 insertions, 30 deletions
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index a9bf52c8..48192f5e 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -25,32 +25,30 @@
// QT5 TODO QTEST_GUILESS_MAIN(KConfigCompiler_Test)
QTEST_MAIN(KConfigCompiler_Test)
-typedef const char * CompilerTestSet[];
-
-static CompilerTestSet testCases =
-{
- "test1.cpp", "test1.h",
- "test2.cpp", "test2.h",
- "test3.cpp", "test3.h",
- "test3a.cpp", "test3a.h",
- "test4.cpp", "test4.h",
- "test5.cpp", "test5.h",
- "test6.cpp", "test6.h",
- "test7.cpp", "test7.h",
- "test8a.cpp", "test8a.h",
- "test8b.cpp", "test8b.h",
- "test9.h", "test9.cpp",
- "test10.h", "test10.cpp",
- "test11.h", "test11.cpp",
- "test11a.h", "test11a.cpp",
- "test12.h", "test12.cpp",
- "test_dpointer.cpp", "test_dpointer.h",
- "test_signal.cpp", "test_signal.h",
- NULL
+typedef const char *CompilerTestSet[];
+
+static CompilerTestSet testCases = {
+ "test1.cpp", "test1.h",
+ "test2.cpp", "test2.h",
+ "test3.cpp", "test3.h",
+ "test3a.cpp", "test3a.h",
+ "test4.cpp", "test4.h",
+ "test5.cpp", "test5.h",
+ "test6.cpp", "test6.h",
+ "test7.cpp", "test7.h",
+ "test8a.cpp", "test8a.h",
+ "test8b.cpp", "test8b.h",
+ "test9.h", "test9.cpp",
+ "test10.h", "test10.cpp",
+ "test11.h", "test11.cpp",
+ "test11a.h", "test11a.cpp",
+ "test12.h", "test12.cpp",
+ "test_dpointer.cpp", "test_dpointer.h",
+ "test_signal.cpp", "test_signal.h",
+ NULL
};
-static CompilerTestSet testCasesToRun =
-{
+static CompilerTestSet testCasesToRun = {
"test1",
"test2",
"test3",
@@ -70,11 +68,10 @@ static CompilerTestSet testCasesToRun =
};
#if 0
-static CompilerTestSet willFailCases =
-{
- // where is that QDir coming from?
- //"test9.cpp", NULL
- NULL
+static CompilerTestSet willFailCases = {
+ // where is that QDir coming from?
+ //"test9.cpp", NULL
+ NULL
};
#endif
@@ -153,7 +150,6 @@ void KConfigCompiler_Test::testRunning()
QCOMPARE(process.exitCode(), 0);
}
-
void KConfigCompiler_Test::appendFileDiff(const QString &oldFile, const QString &newFile)
{
if (m_diffExe.isEmpty()) {