mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-12 03:47:26 +00:00
Update CMock_Summary.md
Add the documentation for the :strippables configuration option.
This commit is contained in:
@@ -293,6 +293,11 @@ Defined in the yaml file, they look more like this:
|
|||||||
available currently are `:ignore,` `:ignore_args,` `:array,`
|
available currently are `:ignore,` `:ignore_args,` `:array,`
|
||||||
`:cexception,` `:callback,` and `:return_thru_ptr`
|
`:cexception,` `:callback,` and `:return_thru_ptr`
|
||||||
|
|
||||||
|
* `:strippables`:
|
||||||
|
An array containing a list of items to remove from the mocked header.
|
||||||
|
For example, use `:strippables: ['(?:functionName\s*\(+.*?\)+)']`
|
||||||
|
to prevent a function from being mocked.
|
||||||
|
|
||||||
* `:treat_as`:
|
* `:treat_as`:
|
||||||
The `:treat_as` list is a shortcut for when you have created typedefs
|
The `:treat_as` list is a shortcut for when you have created typedefs
|
||||||
of standard types. Why create a custom unity helper for UINT16 when
|
of standard types. Why create a custom unity helper for UINT16 when
|
||||||
|
|||||||
Reference in New Issue
Block a user