sinojelly / mockcpp

Two C/C++ testing tools, mockcpp and testngpp.
Apache License 2.0
67 stars 42 forks source link

Can not use MOCKER(malloc) to mock malloc #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you use MOCKER(malloc) to mock malloc function, it crash.

because mockcpp need malloc.

I think, maybe we can use MOCKABLE(malloc) to mock malloc.

But, we can't use MOCKER and MOCKABLE at the same time now.

Original issue reported on code.google.com by sinoje...@gmail.com on 21 Mar 2011 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by sinoje...@gmail.com on 2 Oct 2011 at 2:40