From 54fae164070386e15983e849148b690acfd0a63e Mon Sep 17 00:00:00 2001 From: Mike Long Date: Thu, 24 May 2012 17:45:40 +0800 Subject: [PATCH] Add fakes for common test cases --- test/global_fakes.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/global_fakes.c b/test/global_fakes.c index f6ad956..e042737 100644 --- a/test/global_fakes.c +++ b/test/global_fakes.c @@ -1,4 +1,8 @@ #include "global_fakes.h" #include -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);