vegetablemao / googlemock

Automatically exported from code.google.com/p/googlemock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmock_gen.py generates incorrect code for function(void)

GoogleCodeExporter opened this issue · comments

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

Fixed in revision 393.

Original comment by vladlosev on 20 May 2011 at 9:44

Original comment by vladlosev on 20 May 2011 at 9:45

  • Changed state: Fixed