1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00

Add fakes for common test cases

This commit is contained in:
Mike Long
2012-05-24 17:45:40 +08:00
parent 09a747232c
commit 54fae16407

View File

@@ -1,4 +1,8 @@
#include "global_fakes.h"
#include <string.h>
DEFINE_FAKE_VOID_FUNC0(global_void_func);
DEFINE_FAKE_VOID_FUNC1(voidfunc1, int);
DEFINE_FAKE_VOID_FUNC2(voidfunc2, char, char);
DEFINE_FAKE_VALUE_FUNC0(long, longfunc0);
DEFINE_FAKE_VALUE_FUNC0(enum MYBOOL, enumfunc0);
DEFINE_FAKE_VALUE_FUNC0(struct MyStruct, structfunc0);