From b6a6bd0a11f7eeed3d009a3878eb5d4db23d40fd Mon Sep 17 00:00:00 2001 From: pwatt01 Date: Fri, 24 Apr 2020 09:24:54 +0930 Subject: [PATCH] Updated documentation --- docs/CMock_Summary.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/CMock_Summary.md b/docs/CMock_Summary.md index 7d2b5e4..f56f43f 100644 --- a/docs/CMock_Summary.md +++ b/docs/CMock_Summary.md @@ -161,6 +161,18 @@ care how many times it was called, right? * `retval func(void)` => `void func_IgnoreAndReturn(retval_to_return)` * `retval func(params)` => `void func_IgnoreAndReturn(retval_to_return)` +StopIgnore: +------- + +Maybe you want to ignore a particular function for part of a test but dont want to +ignore it later on. In that case, you want to use StopIgnore which will cancel the +previously called Ignore or IgnoreAndReturn requireing you to Expect or otherwise +handle the call to a function. + +* `void func(void)` => `void func_StopIgnore(void)` +* `void func(params)` => `void func_StopIgnore(void)` +* `retval func(void)` => `void func_StopIgnore(void)` +* `retval func(params)` => `void func_StopIgnore(void)` Ignore Arg: ------------