gmock_gen.py generates incorrect code for function(void)
Closed this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1 . Run gmock_gen.py on a class that contains method declared as T f(void) = 0
What is the expected output? What do you see instead?
Expected is MOCK_METHOD0(f, T(void)). Actual output is MOCK_METHOD1(f, T(void))
Please use labels and text to provide additional information.
Reported by a user at
https://groups.google.com/d/topic/googlemock/msi_sKt6RrE/discussion
Original issue reported on code.google.com by vladlosev
on 17 May 2011 at 6:03
GoogleCodeExporter commented
Fixed in revision 393.
Original comment by vladlosev
on 20 May 2011 at 9:44
GoogleCodeExporter commented
Original comment by vladlosev
on 20 May 2011 at 9:45
- Changed state: Fixed