Stefan Haller
3575bb9859
Add enum validation for Git.Log.Order and Git.Log.ShowGraph
2025-07-09 13:15:03 +02:00
Stefan Haller
703256e92d
Move LocalBranchSortOrder and RemoteBranchSortOrder to user config
...
At the same time, we change the defaults for both of them to "date" (they were
"recency" and "alphabetical", respectively, before). This is the reason we need
to touch so many integration tests. For some of them I decided to adapt the test
assertions to the changed sort order; for others, I added a SetupConfig step to
set the order back to "recency" so that I don't have to change what the test
does (e.g. how many SelectNextItem() calls are needed to get to a certain
branch).
2025-07-09 13:15:03 +02:00
Stefan Haller
d79283656d
Add missing validation tests
2025-07-09 13:15:03 +02:00
Stefan Haller
a9f9dee30d
Combine customCommand's subprocess, stream, and showOutput fields into a single output enum
2025-05-01 15:46:06 +02:00
Stefan Haller
4e3d09e9d8
Validate custom commands in sub menus
2025-05-01 15:21:27 +02:00
Stefan Haller
e295477951
Add test demonstrating missing validation for custom commands in sub menus
...
We only validate the commands at top level right now.
2025-04-30 17:41:49 +02:00
Stefan Haller
7137196788
Add comments in tests to explain what they test
...
Looking at these again, I needed a moment to remember what they do, so make this
more obvious to help future readers.
2025-04-30 17:31:58 +02:00
Stefan Haller
df17896de5
Validate properties of customCommand when commandMenu is used
2025-02-28 10:11:30 +01:00
Stefan Haller
5979b40546
Validate keys of custom commands
2025-02-21 13:20:53 +01:00
Stefan Haller
a5f78d3222
Validate that Universal.JumpToBlock array has 5 elements
...
The code that uses this panics if it has fewer.
2025-02-21 13:20:53 +01:00
Stefan Haller
f3791e6ab6
Validate keybindings
2025-02-21 13:20:53 +01:00
oakio
5c3aacb4cb
UserConfig validation
2024-04-10 17:38:57 +02:00