mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace cleanup tests
Again, entirely script based. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
128fc5f4b8
commit
afe7e847d6
27 changed files with 321 additions and 313 deletions
|
@ -1,9 +1,9 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "testqPrefDiveComputer.h"
|
||||
|
||||
#include "core/settings/qPref.h"
|
||||
#include "core/pref.h"
|
||||
#include "core/qthelper.h"
|
||||
#include "core/settings/qPref.h"
|
||||
|
||||
#include <QTest>
|
||||
|
||||
|
@ -54,7 +54,7 @@ void TestQPrefDiveComputer::test_set_struct()
|
|||
|
||||
void TestQPrefDiveComputer::test_set_load_struct()
|
||||
{
|
||||
// test set func -> load -> struct pref
|
||||
// test set func -> load -> struct pref
|
||||
|
||||
auto tst = qPrefDiveComputer::instance();
|
||||
|
||||
|
@ -120,11 +120,11 @@ void TestQPrefDiveComputer::test_multiple()
|
|||
QCOMPARE(tst->download_mode(), tst_direct->download_mode());
|
||||
}
|
||||
|
||||
#define TEST(METHOD, VALUE) \
|
||||
QCOMPARE(METHOD, VALUE); \
|
||||
dc->sync(); \
|
||||
dc->load(); \
|
||||
QCOMPARE(METHOD, VALUE);
|
||||
#define TEST(METHOD, VALUE) \
|
||||
QCOMPARE(METHOD, VALUE); \
|
||||
dc->sync(); \
|
||||
dc->load(); \
|
||||
QCOMPARE(METHOD, VALUE);
|
||||
|
||||
void TestQPrefDiveComputer::test_oldPreferences()
|
||||
{
|
||||
|
@ -152,4 +152,3 @@ void TestQPrefDiveComputer::test_oldPreferences()
|
|||
}
|
||||
|
||||
QTEST_MAIN(TestQPrefDiveComputer)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue