lpabon / cmockery2

Reviving cmockery unit test framework from Google
Apache License 2.0
69 stars 39 forks source link

pbc: Replaced mistaken commit #22

Closed lpabon closed 9 years ago

lpabon commented 9 years ago

I commited pull #19 prematurely. Invariant must be a call to a function so that it checks the object. Also, when debug is not set, we need to use do{}while(0) style in case any of the pbc macros are used inside an 'if' statement without using {}.

Signed-off-by: Luis Pabón lpabon@redhat.com