Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2019-05-13 00:42:55 +0300
committerJonathan White <support@dmapps.us>2019-05-20 01:21:34 +0300
commit2ee97ed1912fd068cd3484c439f2582a5d829ef4 (patch)
treeda8d11c7102bb0757de7950e98ac3cf42ac2fa2c /tests/TestMerge.cpp
parent96438a45b452271fa433e6488b85cb2e054c153c (diff)
Code formatting
Diffstat (limited to 'tests/TestMerge.cpp')
-rw-r--r--tests/TestMerge.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/TestMerge.cpp b/tests/TestMerge.cpp
index 4d9aef211..9fc353ddf 100644
--- a/tests/TestMerge.cpp
+++ b/tests/TestMerge.cpp
@@ -1172,7 +1172,7 @@ void TestMerge::testCustomdata()
QScopedPointer<Database> dbSource2(createTestDatabase());
m_clock->advanceSecond(1);
-
+
dbDestination->metadata()->customData()->set("toBeDeleted", "value");
dbDestination->metadata()->customData()->set("key3", "oldValue");
@@ -1212,7 +1212,8 @@ void TestMerge::testCustomdata()
QCOMPARE(dbDestination->metadata()->customData()->value("key1"), QString("value1"));
QCOMPARE(dbDestination->metadata()->customData()->value("key2"), QString("value2"));
QCOMPARE(dbDestination->metadata()->customData()->value("Browser"), QString("n'8=3W@L^6d->d.]St_>]"));
- QCOMPARE(dbDestination->metadata()->customData()->value("key3"), QString("newValue")); // Old value should be replaced
+ QCOMPARE(dbDestination->metadata()->customData()->value("key3"),
+ QString("newValue")); // Old value should be replaced
// Target is newer, no data is merged
QVERIFY(!dbDestination2->metadata()->customData()->isEmpty());
@@ -1220,7 +1221,8 @@ void TestMerge::testCustomdata()
QVERIFY(!dbDestination2->metadata()->customData()->contains("key2"));
QVERIFY(!dbDestination2->metadata()->customData()->contains("Browser"));
QVERIFY(dbDestination2->metadata()->customData()->contains("notToBeDeleted"));
- QCOMPARE(dbDestination2->metadata()->customData()->value("key3"), QString("oldValue")); // Old value should not be replaced
+ QCOMPARE(dbDestination2->metadata()->customData()->value("key3"),
+ QString("oldValue")); // Old value should not be replaced
}
void TestMerge::testDeletedEntry()