mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Add memory test utilities
This commit is contained in:
parent
698ba55860
commit
e563bec64d
8 changed files with 153 additions and 10 deletions
|
|
@ -6,4 +6,13 @@
|
|||
#include <stdarg.h>
|
||||
#include <cmocka.h>
|
||||
|
||||
enum wrapper_behavior {
|
||||
WRAPPER_INVOKE_REAL,
|
||||
WRAPPER_INVOKE_CMOCKA,
|
||||
WRAPPER_DO_ASSERTIONS,
|
||||
};
|
||||
|
||||
int reset_mem_wrappers(void **state);
|
||||
void memory_behavior(enum wrapper_behavior behavior);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue