aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeLines
* test: config: fix format specifier: uint32_t needs %u, not %huDaniel Eklöf2021-12-26-1/+1
|
* test: config: test ‘scrollback’ sectionDaniel Eklöf2021-12-26-0/+20
|
* test: config: add test_double() utility functionDaniel Eklöf2021-12-26-0/+37
|
* test: config: add test_uint32() utility functionDaniel Eklöf2021-12-26-0/+37
|
* test: config: bindings: verify pipe argvDaniel Eklöf2021-12-25-3/+39
|
* test: config: test [bell].command (spawn template)Daniel Eklöf2021-12-25-2/+2
|
* test: config: test [main].notify (spawn template)Daniel Eklöf2021-12-25-1/+2
|
* test: config: add test_spawn_template() utility functionDaniel Eklöf2021-12-25-0/+42
|
* test: config: ‘bell’ sectionDaniel Eklöf2021-12-25-0/+19
|
* test: config: verify setting an empty key/mouse binding failsDaniel Eklöf2021-12-18-4/+10
|
* test: config: verify collisions with the mouse override modifiers are detectedDaniel Eklöf2021-12-11-1/+11
|
* test: config: port key/mouse binding tests to new APIDaniel Eklöf2021-12-11-217/+207
|
* test: meson: add fontconfig to ‘test-config’ binary (fixes PGO builds)Daniel Eklöf2021-12-11-1/+1
|
* test: config: mouse-bindingsDaniel Eklöf2021-12-11-4/+171
|
* test: config: key-bindingsDaniel Eklöf2021-12-11-0/+218
| | | | | | | This adds tests for all [key-bindings] options, as well as an invalid “action”. The tests also verify key combo collisions are detected correctly.
* tests: meson: link with tllistDaniel Eklöf2021-12-11-1/+1
|
* test: config: cover all basic (primitive) options in [main]Daniel Eklöf2021-12-11-14/+193
|
* test: initial external unit test suite for ‘config.c’Daniel Eklöf2021-12-11-0/+101
This patch adds a separate (external) test binary with unit tests for config.c This is achieved by having the test’s source file include config.c (yes, the C file, not the header file). This allows us to call e.g. parse_section_*() directly, without having to go through config_load() (which requires having a readable file at “path”).