cmockery
cmockery copied to clipboard
Using will_return_count with count=-1 (to always repeat return value) results in assertion failure
What steps will reproduce the problem?
1. Use the macro 'will_return_count' with a count value of -1
2.
3.
What is the expected output? What do you see instead?
The documentation indicates that the specified value will always be
repeated when the count is -1. When used, the first assertion in
_will_return fires.
>>>>
assert_true(count > 0);
What version of the product are you using? On what operating system?
cmockery-0.1.2
Windows Vista/Linux
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 26 Oct 2008 at 7:03
Original comment by [email protected] on 10 Apr 2009 at 9:44
This will be integrated into cmockery release 0.1.3.
Original comment by [email protected] on 7 Jul 2009 at 7:43