Cockatrice/tests/settings
BruebachL 5134e72eb4
[Settings] Store server profiles with QSettings arrays (#7629)
The server list used hand-numbered saveName%1/server%1 keys and an O(n)
shift loop to delete entries. Store the profiles with beginReadArray and
beginWriteArray instead, and migrate the legacy keys once in the
constructor so existing profiles and saved passwords survive.

SettingsManager::batchWrite no longer disables atomic sync, so a batch is
still written through QSettings' atomic save. Add tests for add, update,
remove, password updates and the legacy migration.

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-02 07:30:29 +01:00
..
CMakeLists.txt [Settings] Store server profiles with QSettings arrays (#7629) 2026-11-02 07:30:29 +01:00
servers_settings_test.cpp [Settings] Store server profiles with QSettings arrays (#7629) 2026-11-02 07:30:29 +01:00
settings_defaults_test.cpp [CrashReporting] Mock crash-report dialog and reporting preference (#7521) 2026-10-19 14:57:03 +02:00
settings_manager_test.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
settings_migration_test.cpp [GameSelector] Persist quick-filter toolbar edits and repair filter settings migration (#7500) 2026-10-13 07:45:08 +02:00