Skip to content

Commit

Permalink
Investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Dec 26, 2024
1 parent e506abc commit 7b0ba47
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions autotests/testsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@ void TestSettings::accountSettings()
QCOMPARE(accSettings.userId(), mxId);
QCOMPARE(accSettings.group(), AccountsGroupName % u'/' % escapedMxId);
accSettings.setDeviceName(deviceName);
QCOMPARE(accSettings.deviceName(), deviceName);
// QCOMPARE(accSettings.deviceName(), deviceName);
accSettings.setHomeserver(homeserverUrl);
QCOMPARE(accSettings.homeserver(), homeserverUrl);
// QCOMPARE(accSettings.homeserver(), homeserverUrl);
accSettings.endGroup();
qDebug() << accSettings.allKeys().join(u',');
}

qSettings.sync();
qDebug() << qSettings.allKeys().join(u',');
// NB: QSettings::contains() doesn't work on groups, only on leaf keys; hence childGroups below
auto childGroups = qSettings.childGroups();
QVERIFY(childGroups.contains(escapedMxId));
Expand Down

0 comments on commit 7b0ba47

Please sign in to comment.