summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefCloudStorage.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-25 12:39:04 -0700
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-07-26 16:32:51 +0300
commitafe7e847d6ab550237c066a1570a7c3160b5b008 (patch)
tree04344853d787864ef726b9ae94f2e15d07c0d76e /tests/testqPrefCloudStorage.cpp
parent128fc5f4b81f036eeb76cda99704095673efbe8e (diff)
downloadsubsurface-afe7e847d6ab550237c066a1570a7c3160b5b008.tar.gz
Whitespace cleanup tests
Again, entirely script based. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testqPrefCloudStorage.cpp')
-rw-r--r--tests/testqPrefCloudStorage.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/testqPrefCloudStorage.cpp b/tests/testqPrefCloudStorage.cpp
index 1165987d3..5abd5e1ff 100644
--- a/tests/testqPrefCloudStorage.cpp
+++ b/tests/testqPrefCloudStorage.cpp
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#include "testqPrefCloudStorage.h"
-#include "core/settings/qPref.h"
#include "core/pref.h"
#include "core/qthelper.h"
+#include "core/settings/qPref.h"
#include <QTest>
@@ -48,7 +48,6 @@ void TestQPrefCloudStorage::test_struct_get()
QCOMPARE(tst->save_password_local(), prefs.save_password_local);
QCOMPARE(tst->save_userid_local(), prefs.save_userid_local);
QCOMPARE(tst->userid(), QString(prefs.userid));
-
}
void TestQPrefCloudStorage::test_set_struct()
@@ -88,7 +87,7 @@ void TestQPrefCloudStorage::test_set_struct()
void TestQPrefCloudStorage::test_set_load_struct()
{
- // test set func -> load -> struct pref
+ // test set func -> load -> struct pref
auto tst = qPrefCloudStorage::instance();
@@ -206,11 +205,11 @@ void TestQPrefCloudStorage::test_multiple()
QCOMPARE(tst->cloud_timeout(), tst_direct->cloud_timeout());
}
-#define TEST(METHOD, VALUE) \
-QCOMPARE(METHOD, VALUE); \
-cloud->sync(); \
-cloud->load(); \
-QCOMPARE(METHOD, VALUE);
+#define TEST(METHOD, VALUE) \
+ QCOMPARE(METHOD, VALUE); \
+ cloud->sync(); \
+ cloud->load(); \
+ QCOMPARE(METHOD, VALUE);
void TestQPrefCloudStorage::test_oldPreferences()
{