tests: Add tests for SessionLimits interface
This adds tests for the getter and setter for session limits, giving us 65.9% branch coverage (but that includes `g_return_if_fail()` and friends, which are impossible and pointless to test both sides of the branch). Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
ee7ed7dc35
commit
ec1af3ef55
2 changed files with 1210 additions and 2 deletions
1197
libmalcontent/tests/session-limits.c
Normal file
1197
libmalcontent/tests/session-limits.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue