From 8bed00ab34e31f2b9c70026d418d923913325798 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 22 Feb 2021 17:38:09 +0200 Subject: Run clang-format on all cpp/h files NO_CHANGELOG --- autotests/kconfigloadertest.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'autotests/kconfigloadertest.cpp') diff --git a/autotests/kconfigloadertest.cpp b/autotests/kconfigloadertest.cpp index ab93c1da..17bfe403 100644 --- a/autotests/kconfigloadertest.cpp +++ b/autotests/kconfigloadertest.cpp @@ -7,20 +7,20 @@ #include #include -#include #include +#include Q_DECLARE_METATYPE(QList) static const QString s_testName(QStringLiteral("kconfigloadertest")); // clazy:exclude=non-pod-global-static -#define GET_CONFIG_ITEM_VALUE(type, configName) \ - KConfigSkeletonItem* item = cl->findItem(s_testName, configName); \ - /* Check if we got back a valid item. */ \ - QVERIFY(item != nullptr); \ - /* Cast the item to the given type. */ \ - type typeItem = dynamic_cast(item); \ - /* Make sure the cast was successful. */ \ +#define GET_CONFIG_ITEM_VALUE(type, configName) \ + KConfigSkeletonItem *item = cl->findItem(s_testName, configName); \ + /* Check if we got back a valid item. */ \ + QVERIFY(item != nullptr); \ + /* Cast the item to the given type. */ \ + type typeItem = dynamic_cast(item); \ + /* Make sure the cast was successful. */ \ QVERIFY(typeItem != nullptr); void ConfigLoaderTest::init() @@ -191,4 +191,3 @@ void ConfigLoaderTest::ulongLongDefaultValue() } QTEST_MAIN(ConfigLoaderTest) - -- cgit v1.2.1