Cockatrice/tests/settings
Lukas Brübach e8fdee6c36 [Server] Add per-run configuration overrides
Add --set key=value to override a section-qualified scalar configuration key for a single run and --print-config to print the effective configuration, with secrets redacted. SettingsCache owns the override map, so reads see the override without rewriting the ini file, and rebuilds the disallowed-name regexps when users/disallowedregexp is overridden. Bare keys and array-scoped keys are rejected because array loops read them relative to the active group, where a full-key override would either be ignored or rewrite every entry.

Cover the ini, default, override, override-only-key, regexp-rebuild, secret-redaction, and parse paths with a server-labelled gtest.
2026-11-09 15:29:03 +01:00
..
CMakeLists.txt [Server] Add per-run configuration overrides 2026-11-09 15:29:03 +01:00
servatrice_settings_test.cpp [Server] Add per-run configuration overrides 2026-11-09 15:29:03 +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 [Fonts] Retire max font size setting into theme CardText min/max range (#7544) 2026-11-09 14:02:59 +01: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 [Fonts] Retire max font size setting into theme CardText min/max range (#7544) 2026-11-09 14:02:59 +01:00