aboutsummaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-02 17:21:47 +0200
committerDanilo M. <danix@danix.xyz>2026-08-04 12:52:19 +0200
commit72b56d0beca6d640c724eabc73a3ee45cf04bfea (patch)
treeda54a55abd573f0c9457ddceafdb38bb327cebb1 /tests/CMakeLists.txt
parentd56d9c35352bec0f1492395f657f2c0b9b0f04a1 (diff)
downloadqtmaildir-72b56d0beca6d640c724eabc73a3ee45cf04bfea.tar.gz
qtmaildir-72b56d0beca6d640c724eabc73a3ee45cf04bfea.zip
feat: add Config with account, query, and sync parsing
Accounts use [account.work] rather than [account/work]: QSettings' INI backend treats "/" as its own hierarchical group separator, so a literal slash in a section header parses as a nested group and trips QSettings::FormatError, silently breaking childGroups() enumeration. A dot carries no such meaning and keeps the format flat. Saved-query order is alphabetical (QSettings::childKeys() sorts), not file order; documented in code and tests rather than left to a false assumption.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d4f0d3f..bec7621 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -6,3 +6,4 @@ function(add_qtmaildir_test name)
endfunction()
add_qtmaildir_test(keymap)
+add_qtmaildir_test(config)